Skip to content

Commit ea30e0b

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 eb3ee0e commit ea30e0b

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
@@ -23,7 +23,7 @@ on:
2323
tags:
2424
- 'v*'
2525
permissions:
26-
contents: write
26+
contents: read
2727
concurrency:
2828
group: ${{ github.workflow }}-${{ github.ref }}
2929
cancel-in-progress: true

0 commit comments

Comments
 (0)