Skip to content

Commit 4c80d25

Browse files
fix(ci): allow Dependabot to activate the autofix agent (roles: all) (#266)
Follow-up to #263. The autofix `activation` job failed because gh-aw's default role gate requires write/maintainer/admin, but `dependabot[bot]` has permission level `none`, so the agent never ran. Adds `roles: all` under `on:` — the `bots: [dependabot[bot]]` filter still limits activation to Dependabot. Refs #262. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 580b3ac commit 4c80d25

2 files changed

Lines changed: 22 additions & 49 deletions

File tree

.github/workflows/dependabot-autofix.lock.yml

Lines changed: 18 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/dependabot-autofix.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- 'dependabot/**'
88
bots: ['dependabot[bot]']
9+
# Dependabot has no repo write permission, so gh-aw's default role gate
10+
# (admin/maintainer/write) would block activation. Allow all actors — the
11+
# `bots:` filter already restricts activation to Dependabot-authored runs.
12+
roles: all
913
workflow_dispatch:
1014
inputs:
1115
pr:

0 commit comments

Comments
 (0)