Add workflow for triage skill#5566
Merged
ellahathaway merged 25 commits intoJun 2, 2026
Merged
Conversation
Agent markdown files use non-standard frontmatter that triggers false lint failures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mthalman
reviewed
May 19, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Triage skill with workflow
mthalman
reviewed
May 26, 2026
Enables manual testing of the triage workflow by providing an issue number as input, without needing to wait for a new issue to be filed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The agent wasn't receiving the workflow_dispatch input value because it wasn't interpolated into the prompt. Also explicitly tells the agent to target dotnet/source-build (not the fork). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…triage prompt - Update all gh-aw blob references from v0.72.1 to v0.74.4 - Use github.repository context variable instead of hardcoded repo name - Add workflow_dispatch trigger for manual re-triage Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
Author
|
All review feedback addressed. Successfully tested end-to-end from a fork: Example issue + run:
Changes in latest push (bea4bc0):
This is ready for another look. |
mthalman
reviewed
Jun 1, 2026
Switch from issue-opened trigger to cron schedule for security (prevents prompt injection from community issues). Add shared github-guard-policy.md with community approval label. Add discussions: false to safe-outputs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Downgrade from v0.74.8 to v0.74.4 to match the version referenced in copilot-setup-steps.yml. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'approval-labels' guard policy requires 'min-integrity' to be set for gh-aw compilation to succeed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Run at 12:00, 16:00, 19:00, 23:00 UTC (5am, 9am, 12pm, 4pm PT) on weekdays only, evenly spaced across the team's working window. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Agentic Workflows (gh-aw) based automation to triage newly opened/untriaged issues on a schedule, along with shared workflow components and repository configuration to support secure execution and Copilot tooling setup.
Changes:
- Add a scheduled “triage” agentic workflow source (
triage.md) and its generated lock workflow (triage.lock.yml). - Introduce shared gh-aw components for PAT pooling and GitHub MCP guard policy (
shared/pat_pool.md,shared/github-guard-policy.md) plus PAT pool documentation. - Add repo config and workflow updates to support the new agentic workflows (Copilot setup workflow, MCP config, linter exclusions, and
.gitattributesfor lock files).
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/triage.md | Defines the gh-aw triage workflow prompt, triggers, safe-outputs, and engine token selection. |
| .github/workflows/triage.lock.yml | Generated GitHub Actions workflow produced by gh aw compile for the triage workflow. |
| .github/workflows/shared/pat_pool.md | Shared import that selects a Copilot PAT from a pool and exposes the selected index. |
| .github/workflows/shared/pat_pool.README.md | Documentation for onboarding and managing the PAT pool approach. |
| .github/workflows/shared/github-guard-policy.md | Shared GitHub MCP guard policy requiring community approval labeling for community issues. |
| .github/workflows/lint-code-base.yml | Updates super-linter exclusions to avoid linting agentic workflow source files. |
| .github/workflows/copilot-setup-steps.yml | Adds a Copilot setup workflow to install gh-aw tooling for Copilot Agent. |
| .github/mcp.json | Adds MCP server configuration pointing to gh aw mcp-server. |
| .github/aw/actions-lock.json | Adds action lock metadata for selected actions used by gh-aw tooling. |
| .github/agents/agentic-workflows.agent.md | Adds an agent descriptor/dispatcher doc for working with gh-aw workflows. |
| .gitattributes | Marks *.lock.yml as generated and configures merge behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Without an explicit max, safe-outputs defaults to 1 comment per run, blocking batch triage of multiple issues. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Match the version used to generate the lock file so developers get consistent behavior when using the setup workflow to compile/debug. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
These files are auto-generated by gh-aw compile and should not be linted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The schedule trigger runs as github-actions[bot], so including it in skip-bots would block all scheduled triage runs. Recompile to sync the lock file with the source which already has only [copilot]. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Align documentation URLs with the version used in actions-lock.json and copilot-setup-steps.yml. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mthalman
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a github workflow to triage new issues