Skip to content

Commit

Permalink
Don't create binary release if commit message contains [no release]
Browse files Browse the repository at this point in the history
ergo, this commit should not produce a release
  • Loading branch information
dktapps committed Mar 14, 2023
1 parent 71b9f9d commit 32973ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
name: Publish binaries
needs: [linux, macos, windows]
runs-on: ubuntu-20.04
if: ${{ startsWith(github.ref_name, 'php/') && github.ref_type == 'branch' }}
if: ${{ startsWith(github.ref_name, 'php/') && github.ref_type == 'branch' && !contains(github.event.head_commit.message, '[no release]') }}

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 32973ab

Please sign in to comment.