fix(ci): authenticate gh-image installation (#69793)
Use the trusted publisher's scoped GitHub token when resolving the pinned gh-image release. This avoids GitHub-hosted runners exhausting their shared anonymous API rate limit before the evidence publisher can run.
This commit is contained in:
@@ -33,6 +33,8 @@ jobs:
|
||||
|
||||
# v1.2.0 resolves to 44f4b93ecbbe22de6c45fa2f62f519aee564ca8c.
|
||||
- name: Install gh-image
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: gh extension install drogers0/gh-image --pin v1.2.0
|
||||
|
||||
- name: Download and attach evidence
|
||||
|
||||
Reference in New Issue
Block a user