Skip to content

Commit 32973ab

Browse files
committed
Don't create binary release if commit message contains [no release]
ergo, this commit should not produce a release
1 parent 71b9f9d commit 32973ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
name: Publish binaries
167167
needs: [linux, macos, windows]
168168
runs-on: ubuntu-20.04
169-
if: ${{ startsWith(github.ref_name, 'php/') && github.ref_type == 'branch' }}
169+
if: ${{ startsWith(github.ref_name, 'php/') && github.ref_type == 'branch' && !contains(github.event.head_commit.message, '[no release]') }}
170170

171171
steps:
172172
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)