Commit 900012a
release.yml: accept GitHub squash-merge
GitHub's default squash-merge title is `<PR title> (#N)` — so
merging a Release PR titled `release: v0.1.2` lands on main as
`release: v0.1.2 (#18)`, which the old anchored regex rejected.
The v0.1.2 canary had to be kicked via workflow_dispatch as a
result.
Strip the trailing ` (#N)` before the regex test so both forms
match. Editing the title to drop the suffix still works; it just
isn't required anymore.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>(#N) suffix in detect regex (#19)1 parent e321737 commit 900012a
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments