fix(crons): add 'actions: write' so Trigger Pages deploy step works#161
Merged
Conversation
Diagnosed from log of personality cron 25922639648 (2026-05-15T14:17Z): Trigger Pages deploy: could not create workflow dispatch event: HTTP 403: Resource not accessible by integration GITHUB_TOKEN needs the `actions: write` scope to dispatch another workflow via 'gh workflow run pages.yml'. None of the 10 cron workflows had it (they only declared contents:write + issues:write), so every 'Trigger Pages deploy' step failed with 403, even though the commit itself succeeded — Pages did not redeploy. Fix: add 'actions: write' to the permissions block of all 10 crons. Personality, brainstorm, flesh-out, implement, paper-speckit, paper-write, research-speckit, review, submission-intake, paper-compile. YAML re-validated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Root cause
Personality cron run 25922639648 (2026-05-15T14:17Z) failed at the new
Trigger Pages deploystep (introduced in PR #149) with:GITHUB_TOKENneeds theactions: writescope to dispatch another workflow viagh workflow run pages.yml. None of the 10 cron workflows declared it (they only hadcontents: write+issues: write), so every dispatch attempt 403'd — the commit step succeeded but Pages was never re-deployed.Fix
Added
actions: writeto the permissions block of all 10 crons:pipeline-{personality,brainstorm,flesh-out,implement,paper-speckit,paper-write,research-speckit,review}.ymlsubmission-intake.yml,paper-compile.ymlYAML re-validated.
Verification path
Once merged, the next personality cron tick (every 30 min) will:
Trigger Pages deploywill now have permission to dispatch.pages.ymlwill syncweb/ → docs/and the new contribution will appear on the live site.This is the missing piece from PR #149; the dispatch step itself was correct but lacked the permission to fire.
🤖 Generated with Claude Code