From bebee11c4fd92f933cfd21969bb2bf0d1d07c430 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Sat, 20 Jun 2026 13:27:04 -0400 Subject: [PATCH] Restore contents:write permission for docs deploy (fix gh-pages 403) The CI-centralization migration dropped the `permissions:` block from the `Documentation.yml` caller job. Because the reusable `SciML/.github/.github/workflows/documentation.yml@v1` declares no permissions of its own, the caller job's permissions flow through to the `GITHUB_TOKEN` passed into Documenter's `deploydocs`. With no permissions block, that token is read-only and cannot push to the `gh-pages` branch, so the build succeeds but the deploy step fails with a 403. Add the same `permissions` block used by the proven fix in OrdinaryDiffEqOperatorSplitting.jl #90 (`actions: write`, `contents: write`, `statuses: write`) so the token can push to gh-pages. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Documentation.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 349b146..ce73e3a 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -10,5 +10,9 @@ on: jobs: build: + permissions: + actions: write + contents: write + statuses: write uses: "SciML/.github/.github/workflows/documentation.yml@v1" secrets: "inherit"