Skip to content

fix(ci): grant contents:read so the grader can run#4

Merged
lassebenni merged 1 commit into
mainfrom
fix/ci-contents-read-permission
Jul 19, 2026
Merged

fix(ci): grant contents:read so the grader can run#4
lassebenni merged 1 commit into
mainfrom
fix/ci-contents-read-permission

Conversation

@lassebenni

Copy link
Copy Markdown
Collaborator

Preventive CI fix. grade-assignment.yml was missing contents: read in its permissions block. The reusable auto-grade.yml requires it for actions/checkout; a reusable workflow cannot request a permission the caller did not grant, so the grader would startup_failure on the first student PR (this is exactly what happened on Week 11). No open PRs on Week 12 yet, so this just makes grading work when submissions arrive.

🤖 Generated with Claude Code

grade-assignment.yml was missing 'contents: read'. The reusable
auto-grade.yml requests it (actions/checkout needs it), and a reusable
workflow cannot request a permission the caller did not grant, so every
run would be startup_failure and no grader comment would post. Same fix
already applied to Week 11. Preventive here: no PRs open yet.
@lassebenni
lassebenni merged commit 05e4b98 into main Jul 19, 2026
1 check failed
@lassebenni
lassebenni deleted the fix/ci-contents-read-permission branch July 19, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant