Skip to content

Commit 4bf9cc2

Browse files
list individual permissions under job instead
1 parent 4b923fc commit 4bf9cc2

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/scorecard.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches: ["main"]
99

10-
permissions: read-all
11-
1210
jobs:
1311
analysis:
1412
name: Scorecard analysis
@@ -20,8 +18,17 @@ jobs:
2018
security-events: write
2119
# Needed to publish results and get a badge (see publish_results below).
2220
id-token: write
23-
contents: read
2421
actions: read
22+
attestations: read
23+
checks: read
24+
contents: read
25+
deployments: read
26+
issues: read
27+
discussions: read
28+
packages: read
29+
pages: read
30+
pull-requests: read
31+
statuses: read
2532

2633
steps:
2734
- name: "Checkout code"

0 commit comments

Comments
 (0)