Skip to content

Commit 985b77f

Browse files
author
Lasse Benninga
committed
fix(ci): grant contents:read so the grader can run
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.
1 parent 648514a commit 985b77f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/grade-assignment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
grade:
1010
permissions:
11+
contents: read
1112
issues: write
1213
pull-requests: write
1314
uses: HackYourFuture/github-actions/.github/workflows/auto-grade.yml@main

0 commit comments

Comments
 (0)