Skip to content

Add event-driven agent workflows - #1258

Draft
Carson Radtke (carsonRadtke) wants to merge 1 commit into
microsoft:mainfrom
carsonRadtke:carsonradtke/agentic-workflows
Draft

Add event-driven agent workflows#1258
Carson Radtke (carsonRadtke) wants to merge 1 commit into
microsoft:mainfrom
carsonRadtke:carsonradtke/agentic-workflows

Conversation

@carsonRadtke

Copy link
Copy Markdown
Member

Summary

  • Add event-driven issue triage, root-cause analysis, and coding-agent handoff workflows.
  • Add automated pull request classification, first-pass review, and human reviewer assignment.
  • Add custom Copilot agents, deterministic label synchronization, and cloud-agent setup guidance.

Workflow

  1. New or edited issues are classified by priority, kind, scope, and status.
  2. Status: Triaged starts RCA and creates a draft PR containing a failing regression test.
  3. Status: RCA Complete assigns the coding agent to the existing RCA PR.
  4. New and updated PRs receive an automated non-approving review.
  5. Reviewed non-draft PRs request review from @carsonradtke.

Security review

The PR review workflows intentionally use pull_request_target so fork PRs can be labeled and reviewed. Both set checkout: false; agents read fork diffs through GitHub API tools and cannot execute or edit fork code. GH_AW_AGENT_TOKEN is isolated from agent execution and is available only to restricted safe-output jobs.

Repository setup

Before enabling the workflows:

  • Configure the GH_AW_AGENT_TOKEN Actions secret with the permissions documented in .github/AGENTIC_WORKFLOWS.md.
  • Enable the relevant Copilot cloud-agent and Copilot CLI organization policies.

The label synchronization workflow creates or updates the required labels after merge without deleting existing labels.

Validation

  • Compiled all five agentic workflows with gh aw compile --validate --approve.
  • Previewed synchronization of all 55 labels.
  • Performed two independent reviews of the complete local diff.

Add issue triage, RCA, implementation handoff, PR review, human reviewer assignment, and deterministic label synchronization.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9e021b4f-f62e-4b5c-9815-0eb643624de3
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