Skip to content

Commit

Permalink
Adding option to skip release [skip-release]
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Nov 8, 2020
1 parent 2a305ef commit cd07ca1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,10 @@ jobs:


publish:
if: github.ref == 'refs/heads/main' && ! contains(toJSON(github.event.commits.*.message), '[skip-ci]')
if: |
github.ref == 'refs/heads/main' &&
! contains(toJSON(github.event.commits.*.message), '[skip-ci]')
! contains(toJSON(github.event.commits.*.message), '[skip-release]')
needs:
- lint
Expand Down

0 comments on commit cd07ca1

Please sign in to comment.