Skip to content

Commit 448046d

Browse files
fix(ci): use startsWith for 'chore: release master' commit message check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 470a191 commit 448046d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
- name: Run Harness
127127
run: yarn test.harness
128128
publish:
129-
if: github.event_name == 'push' && github.event.head_commit.message == 'chore: release master'
129+
if: github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore: release master')
130130
runs-on: ubuntu-latest
131131
needs:
132132
- build
@@ -153,7 +153,7 @@ jobs:
153153
with:
154154
path: "./cli-binaries"
155155
upload_artifacts:
156-
if: github.event_name == 'push' && github.event.head_commit.message == 'chore: release master'
156+
if: github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore: release master')
157157
runs-on: ubuntu-latest
158158
container:
159159
image: golang:1.23

0 commit comments

Comments
 (0)