Skip to content

Commit eb1108e

Browse files
committed
Fix TokenPermissionsID: add contents: read to job permissions in scorecard.yml
Fixes Scorecard TokenPermissionsID alert by adding explicit contents: read permission to the analysis job's permissions block. When job-level permissions are specified, GitHub sets unspecified permissions to 'none' by default. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 24aa9cd commit eb1108e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions: read-all
1313
jobs:
1414
analysis:
1515
permissions:
16+
contents: read
1617
security-events: write
1718
id-token: write
1819
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@8750b94ac1bbe8c51ad13fe106669b13478f0b62

0 commit comments

Comments
 (0)