Commit 9615071
authored
ci: set read-only workflow token permissions (#1681)
## Summary
- set explicit read-only `GITHUB_TOKEN` permissions for CI workflows
that only need repository checkout/read access
- leave release/deploy/write-capable workflows unchanged
## Why
This follows GitHub Actions least-privilege guidance and reduces the
default token scope available to routine CI jobs without changing the
test/build commands.
## Verification
- Parsed the changed workflow YAML with PyYAML.
- Ran `git diff --check`.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated the software composition analysis (SCA) workflow to use
explicit, read-only repository permissions.
* Strengthens automation security for scanning while keeping existing
end-user behavior unchanged.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Alb3e3 <Alb3e3@users.noreply.github.com>1 parent 61a961f commit 9615071
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments