Skip to content

Commit 572c0ff

Browse files
committed
ci: declare contents: read on the CI workflow
The 9 jobs in ci.yml (checks, windows-checks, tests, timings, deny, linux-integration, windows-integration, results) all run actions/checkout plus build/test steps. None push back to the repo or call write APIs, so contents: read is the right floor. cover.yml / labeler.yml / publish.yml / stale.yml in this repo already declare permissions (per-job). Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent 7c1f39a commit 572c0ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: '0 0 * * *' # Every day at midnight
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
checks:
1114
name: Checks

0 commit comments

Comments
 (0)