Commit 4fa4a20
ci: signal release readiness when a version milestone completes (#41)
Pairs with the new GitHub Project roadmap
(github.com/users/pmaxhogan/projects/1), where versions are tracked as
milestones (v0.3.0, v1.0.0, v2.0.0).
When every issue in a version milestone is closed, this workflow
comments on + labels (`ready-to-release`) the open release-please PR and
@-pings me so I review the computed version + CHANGELOG and merge it
myself.
**Signal-only by design - it never merges anything.** A bot merging the
release PR with `GITHUB_TOKEN` would not trigger
`release-please.yml`/`release.yml` (token-authored events start no
workflow run), so no tag would be cut and nothing would actually ship.
Milestone titles are also just planning labels (release-please computes
the real version from commits), and milestone-100% says nothing about CI
being green. So the merge stays a human click; this just removes the
"did I notice the version is done?" gap.
Triggers: `issues: closed` (precise), a daily `schedule` backstop, and
`workflow_dispatch`. Dedups per-milestone via a hidden sentinel comment.
Uses `GITHUB_TOKEN` only (no PAT). Validated with actionlint.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_012CyiRqk2DVwmJjEu5gcD1m
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent b57b7ef commit 4fa4a20
1 file changed
Lines changed: 88 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
0 commit comments