You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow customizing allowed bot users via a workflow input #227
TL;DR: this should be implemented by adding a new workflow_call input (defaulting to current behavior) and wiring it to the generated GH_AW_ALLOWED_BOTS value; the allowlist is currently hardcoded to github-actions[bot] in multiple workflows.
Recommendation
Add an allowed-bot-users workflow input (string, comma-separated, default "github-actions[bot]") to each workflow that currently hardcodes bots: ["github-actions[bot]"], then recompile so GH_AW_ALLOWED_BOTS is derived from $\{\{ inputs.allowed-bot-users }}. This matches the existing pattern used in #193/#196 for making hardcoded behavior configurable while preserving defaults.
Findings
The requested behavior is not currently configurable via workflow_call in issue triage:
.github/workflows/gh-aw-issue-triage.md:17-33 defines inputs but none for bot users.
$ python (list workflows with hardcoded bots and no bot-related input)
gh-aw-docs-pr-review.md
gh-aw-duplicate-issue-detector.md
gh-aw-issue-triage-pr.md
gh-aw-issue-triage.md
gh-aw-pr-review.md
gh-aw-update-pr-body.md
Detailed Action Plan
In each affected shim (.github/workflows/gh-aw-issue-triage.md, gh-aw-issue-triage-pr.md, gh-aw-pr-review.md, gh-aw-docs-pr-review.md, gh-aw-duplicate-issue-detector.md, gh-aw-update-pr-body.md), add a new workflow_call input:
This environment blocks edits under .github/workflows/, so I added the updated shim copies under github/workflows/ for maintainer relocation. After moving them into .github/workflows/, run make compile to regenerate .lock.yml outputs.
Activity
github-actions commentedon Feb 20, 2026
TL;DR: this should be implemented by adding a new
workflow_callinput (defaulting to current behavior) and wiring it to the generatedGH_AW_ALLOWED_BOTSvalue; the allowlist is currently hardcoded togithub-actions[bot]in multiple workflows.Recommendation
Add an
allowed-bot-usersworkflow input (string, comma-separated, default"github-actions[bot]") to each workflow that currently hardcodesbots: ["github-actions[bot]"], then recompile soGH_AW_ALLOWED_BOTSis derived from$\{\{ inputs.allowed-bot-users }}. This matches the existing pattern used in #193/#196 for making hardcoded behavior configurable while preserving defaults.Findings
workflow_callin issue triage:.github/workflows/gh-aw-issue-triage.md:17-33defines inputs but none for bot users..github/workflows/gh-aw-issue-triage.md:60-61hardcodes:"github-actions[bot]".github/workflows/gh-aw-issue-triage.lock.yml:1271-1273GH_AW_ALLOWED_BOTS: github-actions[bot].github/workflows/gh-aw-pr-review.md:72-73.github/workflows/gh-aw-docs-pr-review.md:85-86.github/workflows/gh-aw-duplicate-issue-detector.md:43-44.github/workflows/gh-aw-issue-triage-pr.md:62-63.github/workflows/gh-aw-update-pr-body.md:59-60.github/workflows/gh-aw-docs-drift.md:34,:84,:86).workflow_callinputs and callers customize withwith:(gh-agent-workflows/DEVELOPING.md:142-184).Verification
I ran repository searches to validate current behavior and scope.
Detailed Action Plan
.github/workflows/gh-aw-issue-triage.md,gh-aw-issue-triage-pr.md,gh-aw-pr-review.md,gh-aw-docs-pr-review.md,gh-aw-duplicate-issue-detector.md,gh-aw-update-pr-body.md), add a newworkflow_callinput:allowed-bot-usersstringfalse"github-actions[bot]"make compileto regenerate all affected.lock.ymlfiles.gh-agent-workflows/*/README.mdto include the new input for each affected workflow.make lint.lock.ymlnow references$\{\{ inputs.allowed-bot-users }}(or equivalent compiled expression) forGH_AW_ALLOWED_BOTS.github-actions[bot]).Related Items
.github/workflows/gh-aw-issue-triage.md:17-33,60-61.github/workflows/gh-aw-issue-triage.lock.yml:1271-1273GH_AW_ALLOWED_BOTSis currently fixedgh-agent-workflows/DEVELOPING.md:142-184workflow_callinput convention for configurable behaviorWhat is this? | From workflow: Issue Triage Agent
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #227
strawgate commentedon Feb 20, 2026
/ai make a PR please
github-actions commentedon Feb 20, 2026
Implemented and opened a PR proposal for this.
What changed
allowed-bot-users(string, defaultgithub-actions[bot]) to the six affected workflow shim copies.botsto$\{\{ inputs.allowed-bot-users }}.gh-agent-workflows/issue-triage/README.mdgh-agent-workflows/issue-triage-pr/README.mdgh-agent-workflows/pr-review/README.mdgh-agent-workflows/docs-pr-review/README.mdgh-agent-workflows/duplicate-issue-detector/README.mdgh-agent-workflows/update-pr-body/README.mdImportant note
This environment blocks edits under
.github/workflows/, so I added the updated shim copies undergithub/workflows/for maintainer relocation. After moving them into.github/workflows/, runmake compileto regenerate.lock.ymloutputs.Validation:
make lintpassed.What is this? | From workflow: Issue Assistant
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #227
vigneshshanmugam commentedon Feb 20, 2026
/ai can you also add the github-merge-queue[bot] to the allowlist?