-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
Agent workflows (review-responder, quality-gate) triggered by Copilot's auto-review pass pre_activation but the activation job is skipped. The agent never runs.
Root Cause
The pull_request_review event has context.actor = 'Copilot' (the GitHub App identity), but the workflow bots: list only contains copilot-pull-request-reviewer (the review author login). These are different identities.
gh-aw's check_membership.cjs:
- Checks
context.actor(Copilot) against repo roles → fails (Copilot is not a user) - Falls back to
GH_AW_ALLOWED_BOTS: copilot-pull-request-reviewer→ no match forCopilot - Sets
activated = false→activationandagentjobs skipped
Evidence
From pre_activation logs:
GH_AW_ALLOWED_BOTS: copilot-pull-request-reviewer
Checking if user 'Copilot' has required permissions for microsasa/cli-tools
⚠️ Repository permission check failed: Copilot is not a user
Fix
Add Copilot to the bots: list in review-responder.md and quality-gate.md.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working