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: push:
branches: [ "master" ] branches: [ "master" ]
permissions: permissions: read-all
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs: jobs:
@ -33,9 +31,11 @@ jobs:
name: "Scorecards analysis" name: "Scorecards analysis"
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: 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 actions: read
contents: read id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
steps: steps: