Add PR triage agentic workflow for automatic labeling#10149
Add PR triage agentic workflow for automatic labeling#10149
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
.github/agentics/pr-triage-agent.md
Outdated
| ## 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. |
There was a problem hiding this comment.
@copilot remove hardcoded lables, the agent should perform search to select appripriate labels based on their own understanding
There was a problem hiding this comment.
Updated the prompt to fetch available repository labels and removed the hardcoded allowlist from the workflow safe-outputs in commit 1ea9a52.
|
@copilot please fix this issue: https://github.com/githubnext/gh-aw/actions/runs/21051897993/job/60539932454?pr=10149 |
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Fixed the run failure by removing runtime-imported GitHub macros and moving context into the workflow body; recompiled in commit d76e109. |
|
@copilot merge main and regenerate |
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Update action pins and workflow lockfiles to reflect latest changes from main branch. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
@copilot merge main and regenerate |
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
@copilot merge main and resolve conflicts on specs/artifacts.md |
|
@copilot merge main and regenerate |
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Introduces the PR triage agentic workflow for automatic labeling, with the latest
origin/mainchanges 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-finishstill fails due to an upstreamtestifylintwarning inpkg/workflow/create_issue_group_test.go.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.