Skip to content

Commit

Permalink
build: disable pre-release when commit contains skip-checks: true
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-makerx committed May 23, 2023
1 parent 7e22fba commit fb76617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: git config --global user.email "[email protected]" && git config --global user.name "github-actions"

- name: Create Continuous Deployment - Beta (non-prod)
if: steps.get_branch.outputs.branch == 'master' && !inputs.production_release && github.actor != 'github-actions'
if: "${{ steps.get_branch.outputs.branch == 'master' && !inputs.production_release && !contains(github.event.head_commit.message, 'skip-checks: true') }}"
run: |
poetry run semantic-release \
-v DEBUG \
Expand Down

0 comments on commit fb76617

Please sign in to comment.