Commit 84f84bd
fix(ci): grant contents: read so the grade workflow loads
The reusable workflow at HackYourFuture/github-actions/.github/workflows/auto-grade.yml@main
contains a nested job that requests 'contents: read' (to checkout the
PR code). The caller job here only granted issues + pull-requests,
which caps every other permission at 'none'. Result: every PR fails
to load the grade workflow with
The nested job 'test' is requesting 'contents: read', but is only
allowed 'contents: none'.
Adding 'contents: read' to the caller's permissions block unblocks the
nested checkout step. No other behaviour changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8830bc7 commit 84f84bd
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
0 commit comments