Skip to content

fix(workflows): allow github-actions[bot] to trigger recompile-safe-output-fixtures#958

Merged
jamesadevine merged 1 commit into
mainfrom
fix/recompile-fixtures-bot-allowlist
Jun 10, 2026
Merged

fix(workflows): allow github-actions[bot] to trigger recompile-safe-output-fixtures#958
jamesadevine merged 1 commit into
mainfrom
fix/recompile-fixtures-bot-allowlist

Conversation

@jamesadevine

Copy link
Copy Markdown
Collaborator

The
elease: published event for recompile-safe-output-fixtures is dispatched by github-actions[bot] when release-please cuts a new ado-aw release. The workflow's pre_activation gate enforces the default required roles (admin,maintainer,write), so the bot actor was rejected and the workflow never activated on release — e.g. run 27278581112 skipped activation with:

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

Change

  • Add bots: ["github-actions[bot]"] to on: in recompile-safe-output-fixtures.md so release-triggered runs can activate.
  • Recompile recompile-safe-output-fixtures.lock.yml (renders GH_AW_ALLOWED_BOTS: "github-actions[bot]" env on the pre_activation step plus a bots comment under on:).

Human workflow_dispatch runs continue to go through the normal role check unchanged.

…utput-fixtures

The release event is dispatched by github-actions[bot] when release-please publishes a new ado-aw release. The pre_activation gate required admin/maintainer/write roles, so the bot actor was denied and the workflow never activated for release-driven recompiles (e.g. run 27278581112).

Add 'github-actions[bot]' to on.bots so the release-triggered path can activate, and recompile the lock file accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesadevine jamesadevine merged commit 5d36dfd into main Jun 10, 2026
13 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.

1 participant