fix(ci): pass GH_TOKEN to release trigger guard validation step
The gh CLI was installed with GH_TOKEN but the validate step that actually calls it was missing the env var, causing auth failure.
This commit is contained in:
parent
0dcad871ab
commit
e77d9cf8fb
2
.github/workflows/pub-release.yml
vendored
2
.github/workflows/pub-release.yml
vendored
@ -144,6 +144,8 @@ jobs:
|
||||
--output-json artifacts/release-trigger-guard.json \
|
||||
--output-md artifacts/release-trigger-guard.md \
|
||||
--fail-on-violation
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Emit release trigger audit event
|
||||
if: always()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user