Skip to content

Commit 6e4f76d

Browse files
authored
Merge pull request #8 from parzh/chore/only-publish-on-tag-push
Only publish on tag push
2 parents 3e38d82 + 92fb218 commit 6e4f76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
contents: read
8585
id-token: write
8686
runs-on: ubuntu-latest
87-
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
87+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
8888
steps:
8989
- uses: actions/checkout@v5
9090
- uses: actions/setup-node@v5

0 commit comments

Comments
 (0)