feat: add permissions for read access to contents in CI and scheduled workflows

This commit is contained in:
Manuel Raimann
2026-01-30 19:28:47 +01:00
parent d8ef4352c3
commit 473b973408
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ on:
pull_request:
branches: [main, master]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
+3
View File
@@ -5,6 +5,9 @@ on:
- cron: "0 6 * * *" # Daily at 6:00 UTC
workflow_dispatch: # Allow manual trigger
permissions:
contents: read
env:
CARGO_TERM_COLOR: always