Add agentic issue-intents triage workflow - #610
Conversation
|
92e1363 to
b07594b
Compare
80ab513 to
a8a2d1a
Compare
New installation of a gh-aw issue triage workflow for opened/reopened issues. Uses built-in issue-intent safe outputs (set-issue-type, add-labels) with rationale/confidence and suggestion routing, plus a minimal add-comment for missing info. No custom API jobs; no issue-field mutations (repo has no evidence of issue-field usage). Does not close issues and preserves existing labels. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c0a9055b-20f2-4c86-abd0-51f813c0418b
a8a2d1a to
0995736
Compare
There was a problem hiding this comment.
Pull request overview
This PR adds a new GitHub Agentic Workflows (gh-aw) issue-triage automation to this ESLint plugin repository, along with the generated compiled workflow artifacts and supporting repo configuration to keep generated files pinned and unformatted.
Changes:
- Add a gh-aw issue triage workflow source (
issue-triage.md) and its compiled lock workflow (issue-triage.lock.yml). - Add the generated companion maintenance workflow (
agentics-maintenance.yml) and pin gh-aw action SHAs (.github/aw/actions-lock.json). - Adjust repo settings to treat generated files appropriately (
.gitattributes,.prettierignore).
Show a summary per file
| File | Description |
|---|---|
.prettierignore |
Excludes gh-aw generated workflow outputs from Prettier formatting. |
.github/workflows/issue-triage.md |
Defines the gh-aw issue triage workflow intent, safe outputs, and tool access. |
.github/workflows/issue-triage.lock.yml |
Adds the compiled/pinned workflow produced by gh aw compile. |
.github/workflows/agentics-maintenance.yml |
Adds the generated maintenance workflow to clean up expiring safe-output tracking issues and support manual maintenance operations. |
.github/aw/actions-lock.json |
Pins gh-aw action references to specific SHAs for reproducibility. |
.gitattributes |
Marks *.lock.yml as generated and uses an “ours” merge strategy for lock files. |
Review details
- Files reviewed: 5/6 changed files
- Comments generated: 1
- Review effort level: Low
| const createdIssue = await github.rest.issues.create({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| title: '[aw] agentic status report', | ||
| body, | ||
| labels: ['agentic-workflows'], | ||
| }); |
What & why
This is a new installation of a GitHub Agentic Workflows (gh-aw) issue-triage workflow for
primer/eslint-plugin-primer-react, following the rollout guidance ingithub/plan-track-agentic-toolkit.When an issue is opened or reopened, an agent reads the issue and its comments and, only when genuinely useful:
The workflow discovers the repository's available issue types and labels at runtime rather than relying on a hard-coded list. Classifications and the Copilot suggestion flow through native issue-intent safe outputs (
issue-intent: trueonset-issue-type,add-labels, andassign-to-agent), so rationale/confidence/suggestion handling is provided by the platform rather than hand-rolled in the prompt. The workflow never closes issues, keeps visible output to a minimum (no routine triage report), and takes no action when there's nothing to do.Video
N/A — no UI changes.
Changes
.github/workflows/issue-triage.md— native gh-aw triage workflow source. Built-in safe outputs only (set-issue-type,add-labels,assign-to-agent,add-comment); no custom GitHub API jobs and no issue-field mutations (this repo shows no evidence of maintainers using repo issue fields). Runtime label/type discovery (no hard-coded allow-lists).permissions: read-all;timeout-minutes: 15..github/workflows/issue-triage.lock.yml— compiled lock (gh-aw v0.83.1, latest stable)..github/workflows/agentics-maintenance.yml— generated companion workflow that cleans up expiring safe-output tracking issues..github/aw/actions-lock.json— pinned action SHAs..gitattributes— marks generated*.lock.ymlas generated..prettierignore— ignores the two gh-aw generated*.ymlfiles (DO-NOT-EDIT output) soformat:checkpasses without editing generated files.Compiled and validated with
gh aw compile(0 errors, 0 warnings; idempotent). Requires repo variableGH_AW_RUNTIME_FEATURES=issue_intents(set on this repo) to enable native intent forwarding.Related
Links (does not close) github/plan-track-agentic-toolkit#467 — no per-repo sub-issue was found for this installation.