Update for Scorecards 2

This commit is contained in:
Gary Gregory 2022-10-23 15:05:14 -04:00
parent 07608e864e
commit 540c778ad3
1 changed files with 6 additions and 6 deletions

View File

@ -22,9 +22,7 @@ on:
push:
branches: [ "master" ]
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
permissions: read-all
jobs:
@ -33,9 +31,11 @@ jobs:
name: "Scorecards analysis"
runs-on: ubuntu-latest
permissions:
security-events: write # Needed to upload the results to the code-scanning dashboard.
# Needed to upload the results to the code-scanning dashboard.
security-events: write
actions: read
contents: read
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
steps: