Commit 092f9ab
committed
Auto-trigger release workflow on prepare-release PR merge
The "Prepare release" workflow auto-merges its PR once CI passes;
hooking the release workflow to that merge removes the manual step of
dispatching it afterwards. Belt-and-suspenders `if:` filters reject
fork PRs and non-Linguist authors, so only the auto-generated
`prepare-release` PR can trigger a release.
Manual `workflow_dispatch` is preserved for re-runs and dry-run testing.
Pattern documented in heroku/languages-github-actions#358.1 parent dfec1bb commit 092f9ab
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
| |||
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
17 | 33 | | |
18 | 34 | | |
19 | 35 | | |
20 | | - | |
| 36 | + | |
21 | 37 | | |
22 | 38 | | |
23 | 39 | | |
| |||
0 commit comments