Skip to content

Restore workflow caller permissions removed by #51 (Documentation and Dependabot Auto-merge fail at startup) - #58

Merged
xtalax merged 2 commits into
masterfrom
ci/restore-workflow-permissions
Nov 5, 2026
Merged

xtalax merged 2 commits into
masterfrom
ci/restore-workflow-permissions

Conversation

@xtalax-droid

Copy link
Copy Markdown
Collaborator

Restores the permissions blocks that #51 removed from Documentation.yml, TagBot.yml and DependabotAutoMerge.yml.

Why: since #51 merged, the Documentation and Dependabot Auto-merge workflows end in startup_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 as failure, the push at 0f6899c (the first after #51) as startup_failure. The reusable SciML/.github/.github/workflows/documentation.yml@v1 declares job permissions actions: write, contents: write, pull-requests: write and statuses: 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@v1 declares contents: write at 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

…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>
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1)

Time benchmarks
master 15a90f6... master / 15a90f6...
construction/heat P1 10x10 5.85 ± 0.16 ms 5.98 ± 0.18 ms 0.978 ± 0.04
construction/heat P1 20x20 7.67 ± 0.097 ms 7.78 ± 0.45 ms 0.987 ± 0.059
time_to_load 4.68 ± 0.041 s 4.82 ± 0.058 s 0.971 ± 0.015
Memory benchmarks
master 15a90f6... master / 15a90f6...
construction/heat P1 10x10 0.0375 M allocs: 2.01 MB 0.0375 M allocs: 2.01 MB 1
construction/heat P1 20x20 0.0624 M allocs: 4.31 MB 0.0624 M allocs: 4.31 MB 1
time_to_load 0.2 k allocs: 11.8 kB 0.2 k allocs: 11.8 kB 1

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>
@xtalax
xtalax merged commit 813967c into master Nov 5, 2026
48 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