Skip to content

Commit 84ee7c1

Browse files
crrowclaude
andcommitted
fix(ci): release-pr waits for CI to pass before running (#35)
Changed trigger from `on: push` to `on: workflow_run` so release-plz only creates release PRs after CI completes successfully. Closes #35 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a5f3290 commit 84ee7c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Release PR
22

33
on:
4-
push:
4+
workflow_run:
5+
workflows: [CI]
6+
types: [completed]
57
branches: [main]
68

79
permissions:
@@ -10,6 +12,7 @@ permissions:
1012

1113
jobs:
1214
release-plz:
15+
if: github.event.workflow_run.conclusion == 'success'
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)