Commit 8dc6252
CICD: Tag release directly instead of via a PR (#4518)
The dispatch release workflow created the empty "Release vX.Y.Z" commit by
opening an auto-merged PR, but this org forbids GitHub Actions from creating
pull requests ("GitHub Actions is not permitted to create or approve pull
requests"), so the run failed at gh pr create.
Since main is protected (PR required, enforced for admins) and a PAT is not
an option, land the release without a PR: the release job now tags the tip of
the selected branch directly and pushes the tag. Tag pushes are unaffected by
branch protection (no tag protection rules), and the changelog stays correct
because GORELEASER_PREVIOUS_TAG is computed by version, not commit ancestry.
- Drop the empty-commit + gh pr create/merge steps; tag the tip instead.
- Remove the now-unused pull-requests: write permission.
- Update release-engineering.md to describe the direct-tag approach.
The annotated tag still carries the "Release vX.Y.Z" message. preflight
validation, the full longtest gate, skip_longtest, previous_tag override,
release-from-any-branch, and the manual tag-push path are unchanged.
Co-authored-by: Tom Limoncelli <tlimoncelli@coreweave.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent d2073a3 commit 8dc6252
2 files changed
Lines changed: 21 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
146 | 153 | | |
147 | 154 | | |
148 | | - | |
149 | 155 | | |
150 | | - | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 160 | | |
172 | 161 | | |
173 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
84 | 83 | | |
85 | | - | |
86 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments