Skip to content

Allow github-actions[bot] to trigger sweep workflows#167

Merged
theletterf merged 1 commit into
mainfrom
fix-sweep-bot-activation
May 22, 2026
Merged

Allow github-actions[bot] to trigger sweep workflows#167
theletterf merged 1 commit into
mainfrom
fix-sweep-bot-activation

Conversation

@theletterf
Copy link
Copy Markdown
Member

Summary

  • Adds bots: ["github-actions[bot]"] to the on: frontmatter of all 7 sweep workflows, allowing the quality dispatcher to fan them out via gh workflow run
  • Adds roles: [admin, maintainer, write] so humans with write access can still trigger them manually
  • Recompiles all 7 lock files to reflect the frontmatter change

Background

The quality dispatcher in docs-content runs as github-actions[bot] and uses gh workflow run to fan out sweeps. Without an explicit bots: allowlist, gh-aw defaults to requiring admin, maintainer, write roles, which blocks bot actors entirely. This caused all sweep dispatches to fail with:

Access denied: User 'github-actions[bot]' is not authorized. Required permissions: admin, maintainer, write.

Test plan

  • Verify pre-commit passes (compile hook should produce no diff)
  • Trigger a sweep manually from docs-content to confirm github-actions[bot] can now dispatch it

🤖 Generated with Claude Code

…lows

Adds `bots: ["github-actions[bot]"]` and `roles: [admin, maintainer, write]`
to the `on:` frontmatter of all 7 sweep workflows so the quality dispatcher
(which runs as github-actions[bot]) can fan them out, and humans with write
access can still trigger them manually.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@theletterf theletterf requested a review from a team as a code owner May 22, 2026 07:38
@theletterf theletterf requested a review from cotti May 22, 2026 07:38
@theletterf theletterf self-assigned this May 22, 2026
@theletterf theletterf added the fix label May 22, 2026
@theletterf theletterf merged commit f0e9ac6 into main May 22, 2026
4 checks passed
@theletterf theletterf deleted the fix-sweep-bot-activation branch May 22, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant