Commit 8f2fae7
authored
docs: channel branches need environment deployment-branch allowances (#106)
When the publish job runs in a GitHub Environment with deployment branch
restrictions (our recommended hardening restricts it to `main`),
prerelease channel branches can't enter the environment β with trusted
publishing this means OIDC token requests are rejected and channel
publishes fail.
Adds reminders in both places users would hit this:
- **docs/prereleases.md** β setup step 3 (adding the channel branch to
the release workflow) now calls out updating the environment's allowed
deployment branches.
- **docs/github-actions.md** β the "restrict deployment branches to
`main`" hardening bullet now notes channel branches must be added to the
allowed list.1 parent 3124ce7 commit 8f2fae7
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
0 commit comments