Update for Scorecards 2
This commit is contained in:
parent
07608e864e
commit
540c778ad3
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue