Commit bd1e7bf
ci(release): gate release-trigger on the release environment (#3003)
* ci(release): gate release-trigger on the release environment
Add environment: release to the dispatch job that calls the reusable
release-dispatch.yml workflow. GitHub's deployment protection runs
before any of the reusable workflow's jobs start, so the prepare step
(which creates tags) requires manual approval.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* ci(release): gate release-trigger via intermediate approve job
environment: release cannot be used on a job that calls a reusable
workflow (uses:). Instead, add an explicit approve job that holds the
environment gate; the dispatch job depends on it, so the reusable
workflow's prepare step (which creates tags) cannot run until a
reviewer approves the deployment.
Remove the previously-added environment: release from the dispatch
job (invalid) and the inner environment: release from release-dispatch.yml
(redundant — a single gate is sufficient).
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 08e07c4 commit bd1e7bf
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | | - | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
0 commit comments