Repository navigation
Restore workflow caller permissions removed by #51 (Documentation and Dependabot Auto-merge fail at startup) - #58
Merged
Conversation
…tAutoMerge The reusable workflows declare permissions (documentation.yml: actions, contents, pull-requests and statuses write); with a read-only default token the caller must grant them or the run fails at startup. Documentation and Dependabot Auto-merge have ended in startup_failure on every run since ci/sciml-standard removed these blocks. Agent-Harness: Claude Code 2.1.312 Agent-Model: claude-sonnet-5-5 Agent-Session: 43e03fde-3384-4386-bae9-03e81f19ba7c Agent-Review: unreviewed Co-authored-by: Claude Code <agent@noreply.juliahub.com>
Agent-Harness: Claude Code 2.1.312 Agent-Model: claude-sonnet-5-5 Agent-Session: 43e03fde-3384-4386-bae9-03e81f19ba7c Agent-Review: unreviewed Co-authored-by: Claude Code <agent@noreply.juliahub.com>
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restores the
permissionsblocks that #51 removed fromDocumentation.yml,TagBot.ymlandDependabotAutoMerge.yml.Why: since #51 merged, the
DocumentationandDependabot Auto-mergeworkflows end instartup_failure("This run likely failed because of a workflow file issue") on every pull request and push, and nothing runs. Before #51 the same workflows started and (while Actions billing was blocked) failed at a job with no steps; the master push at ee31958 shows Documentation asfailure, the push at 0f6899c (the first after #51) asstartup_failure. The reusableSciML/.github/.github/workflows/documentation.yml@v1declares job permissionsactions: write,contents: write,pull-requests: writeandstatuses: write; a called workflow cannot be granted more than its caller allows, and this repository's default GITHUB_TOKEN permissions are evidently read-only (MethodOfLines.jl, whose files these were made to match, runs them without a block, which works only with a read-write default). I could not read the repository setting through the API (404 without admin), so the cause is inferred from the timing and from the reusable workflow's declared permissions, not seen in an error message. TagBot has the same shape (tagbot.yml@v1declarescontents: writeat the top level) but only runs on issue comments and dispatch, so I have no failing run for it; it is restored by the same reasoning.This PR is the fix that needs no admin rights. The alternative that keeps the files byte-identical to MethodOfLines is to set Settings > Actions > General > Workflow permissions to "Read and write permissions" and then revert this PR. Either is fine; this one unblocks the Documentation build now. The three files are restored from a12dbfe unchanged.
🤖 Posted by an AI agent · harness: Claude Code 2.1.312 · model: claude-sonnet-5-5
Review: unreviewed
Session: 43e03fde-3384-4386-bae9-03e81f19ba7c