Commit 580f76d
Bind signing OIDC to a GitHub environment
A federated credential scoped to a tag matches the subject literally, so
refs/tags/* never matched a real tag and token exchange failed with
AADSTS700213. Running the job in the `release` environment gives a
constant subject that holds across every version tag.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c12db4c commit 580f76d
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
0 commit comments