From 6ad3a46c709ce074af2b722b6c817a92db8bc2bd Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 23 Sep 2026 07:26:04 -0400 Subject: [PATCH] Grant the docs workflow the token permissions it requests This repository's default GITHUB_TOKEN is read-only, and the reusable SciML documentation workflow's job requests actions/contents/ pull-requests/statuses write, so every Documentation run on main has been a startup_failure since 2026-09-12. Granting those permissions at the calling job lets the workflow start and deploy with GITHUB_TOKEN. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 5.5 (1M context) Agent-Harness: Claude Code 2.1.280 Agent-Model: claude-opus-5-5[1m] Agent-Session: https://claude.ai/code/session_01J87aynrgK6d2bYwoKj4YAx Claude-Session: https://claude.ai/code/session_01J87aynrgK6d2bYwoKj4YAx --- .github/workflows/Documentation.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 7135f26..7783080 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -11,5 +11,11 @@ concurrency: jobs: docs: name: "Documentation" + # This repository's default GITHUB_TOKEN is read-only; the reusable workflow needs these to build and deploy. + permissions: + actions: write + contents: write + pull-requests: write + statuses: write uses: "SciML/.github/.github/workflows/documentation.yml@v1" secrets: "inherit"