Skip to content

Add agentic issue-intents triage workflow - #610

Merged
jonrohan merged 2 commits into
mainfrom
alondahari-setup-aw-issue-triage
Jul 27, 2026
Merged

Add agentic issue-intents triage workflow#610
jonrohan merged 2 commits into
mainfrom
alondahari-setup-aw-issue-triage

Conversation

@alondahari

@alondahari alondahari commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

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 in github/plan-track-agentic-toolkit.

When an issue is opened or reopened, an agent reads the issue and its comments and, only when genuinely useful:

  • classifies the issue type when it is unset,
  • applies existing relevant labels,
  • flags likely duplicates / related issues,
  • asks the author for missing information when needed,
  • suggests assigning to Copilot when an issue is well-scoped and actionable.

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: true on set-issue-type, add-labels, and assign-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.yml as generated.
  • .prettierignore — ignores the two gh-aw generated *.yml files (DO-NOT-EDIT output) so format:check passes without editing generated files.

Compiled and validated with gh aw compile (0 errors, 0 warnings; idempotent). Requires repo variable GH_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.

@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3cd2892

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@alondahari
alondahari requested a review from jonrohan July 23, 2026 11:51
@alondahari
alondahari force-pushed the alondahari-setup-aw-issue-triage branch 3 times, most recently from 92e1363 to b07594b Compare July 23, 2026 13:10
@alondahari
alondahari force-pushed the alondahari-setup-aw-issue-triage branch 2 times, most recently from 80ab513 to a8a2d1a Compare July 23, 2026 13:47
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
@alondahari
alondahari force-pushed the alondahari-setup-aw-issue-triage branch from a8a2d1a to 0995736 Compare July 23, 2026 13:49
@alondahari
alondahari marked this pull request as ready for review July 23, 2026 23:50
@alondahari
alondahari requested a review from a team as a code owner July 23, 2026 23:50
Copilot AI review requested due to automatic review settings July 23, 2026 23:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment on lines +451 to +457
const createdIssue = await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: '[aw] agentic status report',
body,
labels: ['agentic-workflows'],
});
@jonrohan
jonrohan enabled auto-merge (squash) July 24, 2026 18:56
@jonrohan
jonrohan merged commit f9f25b4 into main Jul 27, 2026
9 checks passed
@jonrohan
jonrohan deleted the alondahari-setup-aw-issue-triage branch July 27, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants