Don't run publish when doing chores

This commit is contained in:
andig 2020-12-19 19:47:34 +01:00
parent 2c088e770f
commit 17973f2ea8

View file

@ -55,7 +55,9 @@ jobs:
publish:
name: Publish
if: "startsWith(github.ref, 'refs/heads/master')"
if: |
startsWith(github.ref, 'refs/heads/master')
&& ! contains(github.head_ref, 'refs/heads/chore/')
needs: build
runs-on: ubuntu-latest