chore: add id-token permissions to scorecard-action (#8971)
See ossf/scorecard-action#900 Example failure with scorecard-action@2 https://github.com/puppeteer/puppeteer/actions/runs/3066712334/jobs/4952194627
This commit is contained in:
parent
58c6eab429
commit
6f37eed91b
2
.github/workflows/scorecards-analysis.yml
vendored
2
.github/workflows/scorecards-analysis.yml
vendored
@ -20,6 +20,8 @@ jobs:
|
||||
security-events: write
|
||||
actions: read
|
||||
contents: read
|
||||
# Needed to access OIDC token.
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: 'Checkout code'
|
||||
|
Loading…
Reference in New Issue
Block a user