Skip to content

Commit c4b8258

Browse files
Potential fix for code scanning alert no. 3: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 61ab740 commit c4b8258

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/security.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Security & Dependency Updates
22

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
# Run every Monday at 9 AM UTC
@@ -10,6 +13,9 @@ jobs:
1013
security-audit:
1114
name: Security Audit
1215
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
issues: write
1319

1420
steps:
1521
- name: Checkout code

0 commit comments

Comments
 (0)