Skip to content

Commit

Permalink
Merge pull request #2485 from step-security/issue2483-2
Browse files Browse the repository at this point in the history
Add additional prms for scorecard template for private repos(int -> main)
  • Loading branch information
varunsh-coder authored Sep 17, 2024
2 parents 8a372e9 + a294ca7 commit da66ed5
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 da66ed5

Please sign in to comment.