diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e2a929..717095c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: - name: Changelog uses: ./ with: - semver: ${{ github.event_name == 'workflow_call' }} + semver: ${{ startsWith(github.ref, 'refs/tags/v') }} test-with-inputes: # make sure the action works on a clean machine without building name: Test with inputs @@ -67,4 +67,4 @@ jobs: commit-types: | feat: Feature default-commit-type: Default Type - semver: ${{ github.event_name == 'workflow_call' }} + semver: ${{ startsWith(github.ref, 'refs/tags/v') }}