Remove `refs/heads/master` from CI
If someone inadvertently pushes a new `master` branch it won't be released
@@ -33,7 +33,7 @@ jobs:
#
Publish:
runs-on: ubuntu-latest
- if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main') || (github.ref == 'refs/heads/master')
+ if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main'))
steps:
- uses: actions/checkout@v3
with:
