Skip to content

Commit

Permalink
add additional prms for scorecard template for private repos
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-stepsecurity committed Sep 16, 2024
1 parent 8a372e9 commit a294ca7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testfiles/addworkflow/expected-scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
id-token: write
contents: read
actions: read
# To allow GraphQL ListCommits to work
issues: read
pull-requests: read
# To detect SAST tools
checks: read

steps:
- name: "Checkout code"
Expand Down
5 changes: 5 additions & 0 deletions workflow-templates/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
id-token: write
contents: read
actions: read
# To allow GraphQL ListCommits to work
issues: read
pull-requests: read
# To detect SAST tools
checks: read

steps:
- name: "Checkout code"
Expand Down

0 comments on commit a294ca7

Please sign in to comment.