Skip to content

Commit 00ea228

Browse files
committed
Fix TokenPermissionsID: apply least-privilege permissions
Apply principle of least privilege for GITHUB_TOKEN: - Change top-level permissions to read-only - Jobs inherit read permissions, can escalate as needed This resolves Scorecard TokenPermissionsID alerts. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 01e16bc commit 00ea228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
tags:
2626
- 'v*'
2727
permissions:
28-
contents: write
28+
contents: read
2929
concurrency:
3030
group: ${{ github.workflow }}-${{ github.ref }}
3131
cancel-in-progress: true

0 commit comments

Comments
 (0)