From 6639175d3b20a9df019cab2d2d4808276e488661 Mon Sep 17 00:00:00 2001 From: Lasse Benninga Date: Mon, 6 Jul 2026 17:31:11 +0200 Subject: [PATCH] fix(ci): grant contents:read so the grade workflow stops failing at startup The grade job granted issues:write + pull-requests:write, which forces contents:none. Since 2026-05-03 the reusable auto-grade.yml requires contents:read (actions/checkout), so GitHub rejects it at load time (startup_failure, 0 jobs). Adding contents:read matches the working c55-data-week-6 caller. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/grade-assignment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/grade-assignment.yml b/.github/workflows/grade-assignment.yml index d06dc2d..3fd4b9c 100644 --- a/.github/workflows/grade-assignment.yml +++ b/.github/workflows/grade-assignment.yml @@ -8,6 +8,7 @@ on: jobs: grade: permissions: + contents: read issues: write pull-requests: write uses: HackYourFuture/github-actions/.github/workflows/auto-grade.yml@main