Skip to content

Commit cbe530b

Browse files
committed
Remove refs/heads/master from CI
If someone inadvertently pushes a new `master` branch it won't be released
1 parent 64931e0 commit cbe530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
#
3434
Publish:
3535
runs-on: ubuntu-latest
36-
if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main') || (github.ref == 'refs/heads/master')
36+
if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main'))
3737
steps:
3838
- uses: actions/checkout@v3
3939
with:

0 commit comments

Comments
 (0)