Commit 61cd3ac
authored
Add workflow permissions to YAML lint workflow (#39)
Declare explicit contents: read on the file-consistency GitHub Actions
workflow so GITHUB_TOKEN uses least privilege and satisfies CodeQL
rule actions/missing-workflow-permissions.
Resolves the public code scanning alert for missing workflow
permissions metadata (alert #1) in this repository.
AI-Assistance: Cursor IDE, Agent mode, Composer model.
Collaboration: standard human/AI workflow; human review and approval
before commit.
Security: addresses GitHub CodeQL finding on CI workflow permissions;
no production secrets or credentials involved.
Made-with: Cursor1 parent 1fa55de commit 61cd3ac
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments