Skip to content

Commit da66ed5

Browse files
Merge pull request #2485 from step-security/issue2483-2
Add additional prms for scorecard template for private repos(int -> main)
2 parents 8a372e9 + a294ca7 commit da66ed5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

testfiles/addworkflow/expected-scorecards.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
id-token: write
2929
contents: read
3030
actions: read
31+
# To allow GraphQL ListCommits to work
32+
issues: read
33+
pull-requests: read
34+
# To detect SAST tools
35+
checks: read
3136

3237
steps:
3338
- name: "Checkout code"

workflow-templates/scorecards.yml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
id-token: write
2929
contents: read
3030
actions: read
31+
# To allow GraphQL ListCommits to work
32+
issues: read
33+
pull-requests: read
34+
# To detect SAST tools
35+
checks: read
3136

3237
steps:
3338
- name: "Checkout code"

0 commit comments

Comments
 (0)