Skip to content

Commit 540c778

Browse files
committed
Update for Scorecards 2
1 parent 07608e8 commit 540c778

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/scorecards-analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ on:
2222
push:
2323
branches: [ "master" ]
2424

25-
permissions:
26-
id-token: write # This is required for requesting the JWT
27-
contents: read # This is required for actions/checkout
28-
25+
permissions: read-all
26+
2927
jobs:
3028

3129
analysis:
3230

3331
name: "Scorecards analysis"
3432
runs-on: ubuntu-latest
3533
permissions:
36-
security-events: write # Needed to upload the results to the code-scanning dashboard.
34+
# Needed to upload the results to the code-scanning dashboard.
35+
security-events: write
3736
actions: read
38-
contents: read
37+
id-token: write # This is required for requesting the JWT
38+
contents: read # This is required for actions/checkout
3939

4040
steps:
4141

0 commit comments

Comments
 (0)