Don't run publish when doing chores
This commit is contained in:
parent
2c088e770f
commit
17973f2ea8
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue