Skip to content

Commit

Permalink
Scorecard Write-All Permission
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks authored Jan 20, 2022
1 parent 200fe3e commit 91ed24b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ on:
pull_request:
branches: [ main ]

# Declare default permissions as read only.
permissions: read-all
# Declare default permissions as write.
permissions: write-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read

steps:
- name: "Checkout code"
Expand Down

0 comments on commit 91ed24b

Please sign in to comment.