mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-08-25 09:27:36 +00:00
fix: add top-level read-all permissions to release workflow (#1366)
Scorecard Token-Permissions check (alert #4) flags release.yml for missing top-level permissions, which means GITHUB_TOKEN defaults to broad write access across all jobs. Adding permissions: read-all at the top level enforces least privilege by default; the release job already declares contents: write at job level for the permissions it actually needs. Signed-off-by: Paige Patton <prubenda@redhat.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c5f8fb9d36
commit
496e866d8b
@@ -3,6 +3,9 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
release:
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user