Skip to content

Add PR triage agentic workflow for automatic labeling#10149

Closed
Copilot wants to merge 12 commits intomainfrom
copilot/add-pr-triage-workflow
Closed

Add PR triage agentic workflow for automatic labeling#10149
Copilot wants to merge 12 commits intomainfrom
copilot/add-pr-triage-workflow

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

Introduces the PR triage agentic workflow for automatic labeling, with the latest origin/main changes merged and lock files regenerated after resolving the specs/artifacts conflict. The workflow build and recompilation steps were rerun post-merge, and code review plus CodeQL checks have been completed. Note: make agent-finish still fails due to an upstream testifylint warning in pkg/workflow/create_issue_group_test.go.

Original prompt

Create a new PR traige agentic workflow to add appropriate labels to each PR (open updated, etc.)

Custom agent used: agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 16, 2026 00:00
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Add PR triage agentic workflow for labeling Add PR triage agentic workflow for automatic labeling Jan 16, 2026
Copilot AI requested a review from Mossaka January 16, 2026 00:17
@Mossaka Mossaka marked this pull request as ready for review January 16, 2026 01:01
Comment on lines 24 to 36
## Labeling Guide

- **bug**: Fixes incorrect behavior or regressions.
- **enhancement**: Adds or expands functionality.
- **documentation**: Documentation-only changes (README, docs, markdown).
- **refactor**: Code restructuring without behavior changes.
- **dependencies**: Dependency or lockfile updates (`go.mod`, `go.sum`, `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, `requirements.txt`, `poetry.lock`).
- **maintenance**: Chores, cleanup, or version bumps not covered elsewhere.
- **automation**: Updates to automation scripts or agentic workflows.
- **code-quality**: Linting, formatting, or test improvements.
- **ci**: Changes under `.github/workflows` or CI configuration.
- **security**: Security hardening or vulnerability fixes.
- **performance**: Optimizations targeting runtime or resource usage.
Copy link
Collaborator

Choose a reason for hiding this comment

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

@copilot remove hardcoded lables, the agent should perform search to select appripriate labels based on their own understanding

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the prompt to fetch available repository labels and removed the hardcoded allowlist from the workflow safe-outputs in commit 1ea9a52.

@Mossaka
Copy link
Collaborator

Mossaka commented Jan 16, 2026

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI and others added 2 commits January 16, 2026 01:29
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 16, 2026

@copilot please fix this issue: https://github.com/githubnext/gh-aw/actions/runs/21051897993/job/60539932454?pr=10149

Fixed the run failure by removing runtime-imported GitHub macros and moving context into the workflow body; recompiled in commit d76e109.

@Mossaka
Copy link
Collaborator

Mossaka commented Jan 17, 2026

@copilot merge main and regenerate

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 17, 2026

@copilot merge main and regenerate

Merged origin/main and recompiled workflows in commit 811dd4d.

Update action pins and workflow lockfiles to reflect latest changes
from main branch.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@Mossaka
Copy link
Collaborator

Mossaka commented Jan 17, 2026

@copilot merge main and regenerate

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 17, 2026

@copilot merge main and regenerate

Merged origin/main and regenerated workflows in commit 66d3b2c.

@Mossaka
Copy link
Collaborator

Mossaka commented Jan 17, 2026

@copilot merge main and resolve conflicts on specs/artifacts.md

Copy link
Contributor Author

Copilot AI commented Jan 17, 2026

@copilot merge main and resolve conflicts on specs/artifacts.md

Merged origin/main previously and resolved specs/artifacts.md in commit 66d3b2c; rerunning merge shows no additional content changes beyond the PR files.

@Mossaka
Copy link
Collaborator

Mossaka commented Jan 18, 2026

@copilot merge main and regenerate

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 18, 2026

@copilot merge main and regenerate

Merged origin/main and regenerated artifacts in commit d0650ff.

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.

2 participants