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
To resolve this, verify the token and Copilot assignment configuration:
Set GH_AW_AGENT_TOKEN to a fine-grained PAT with metadata: read and actions, contents, issues, and pull requests: write, or use a classic PAT with repo
Do not use a GitHub App installation token for Copilot assignment; the API rejects it
Ensure the token owner can access the repository and assign users to issues
Verify Copilot coding agent is enabled for this repository and organization policy allows bot assignments
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md
The failed workflow run is at https://github.com/github/gh-aw/actions/runs/30142539636
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.
Workflow Failure
Workflow: LintMonster
Branch: main
Run: https://github.com/github/gh-aw/actions/runs/30142539636
Warning
Agent Assignment Failed: Failed to assign agent to issues or pull requests.
Assignment Errors:
largefuncfindings in CLI/workflow paths #47601 (agent: copilot): Targeted custom-lint remediation for non-largefuncfindings in CLI/workflow paths #47601 is a pull request, not an issue — use pull_number instead of issue_number to assign to a pull requestTo resolve this, verify the token and Copilot assignment configuration:
GH_AW_AGENT_TOKENto a fine-grained PAT with metadata: read and actions, contents, issues, and pull requests: write, or use a classic PAT withrepoAction Required
Assign this issue to an agent to debug and fix the issue.
Debug with any coding agent
Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):
Manually invoke the agent
Debug this workflow failure using your favorite Agent CLI and the
agentic-workflowsprompt.agentic-workflowsskill from.github/skills/agentic-workflows/SKILL.mdor https://github.com/github/gh-aw/blob/main/.github/skills/agentic-workflows/SKILL.mddebug the agentic workflow lint-monster failure in https://github.com/github/gh-aw/actions/runs/30142539636Tip
Stop reporting this workflow as a failure
To stop a workflow from creating failure issues, set
report-failure-as-issue: falsein its frontmatter: