Skip to content

ci: declare docs-workflow token permissions explicitly - #60

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:docs/workflow-permissions
Sep 17, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:docs/workflow-permissions

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Please ignore until reviewed by @ChrisRackauckas.

What changed and why

Docs runs die with empty startup_failure (e.g. https://github.com/SciML/SparseMatrixIdentification.jl/actions/runs/34675975048). The reusable documentation workflow's build job requests actions, contents, pull-requests, and statuses write permissions, and a caller must grant at least that set or the run fails closed at startup. This declares them. Same root cause and fix as SciML/DataCollocations.jl#54, where adding the block took the workflow from instant startup_failure to a running build.

Verification

  • Verified: this PR's Documentation workflow run completed with success.
  • Content itself was last green on Sep 7.

Not verified

  • Deployed rendering (follows automatically once main docs complete).

🤖 Generated with OpenCode (model: muse-spark-1.3-contributor-free); no public session URL (local session at /home/crackauc/sandbox/tmp_20260917_040834_91074).

The reusable documentation workflow requests actions, contents,
pull-requests, and statuses write permissions, and a caller must
grant at least that set or the run fails closed at startup. Fixes
the empty startup_failure on recent docs runs.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Agent-Harness: OpenCode
Agent-Model: muse-spark-1.3-contributor-free
Agent-Session: local session at /home/crackauc/sandbox/tmp_20260917_040834_91074 (no public conversation URL)
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review September 17, 2026 13:32
@ChrisRackauckas
ChrisRackauckas merged commit 1093af7 into SciML:main Sep 17, 2026
8 checks passed
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.

2 participants