From 3aefaf385b86f44b2fce2c29c201c464cfb3c9d9 Mon Sep 17 00:00:00 2001 From: Polyglot AI <293096396+polyglotAI-bot@users.noreply.github.com> Date: Thu, 26 Nov 2026 08:58:08 +0000 Subject: [PATCH] ci: use the issue label names for the PR triage categories The PR triage adds triage:. The categories now have the names of the issue labels: bug, enhancement, performance, dependencies and documentation (were bugfix, feature, perf, deps, docs). refactor, tests and infra do not change. The labels triage:bug, triage:enhancement, triage:performance, triage:dependencies and triage:documentation exist. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/claude-pr-triage.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/claude-pr-triage.yml b/.github/workflows/claude-pr-triage.yml index d657a1fda..e1eca790e 100644 --- a/.github/workflows/claude-pr-triage.yml +++ b/.github/workflows/claude-pr-triage.yml @@ -36,22 +36,23 @@ jobs: with: pr_number: ${{ github.event.pull_request.number || github.event.issue.number }} model: claude-fable-5 + categories: bug,enhancement,refactor,performance,dependencies,documentation,tests,infra triage_instructions: | ## Category meanings | Category | When | |---|---| - | `bugfix` | Fixes a defect. Should have a regression test. | - | `feature` | New capability — new type, new API surface, new format. | + | `bug` | Fixes a defect. Should have a regression test. | + | `enhancement` | New capability — new type, new API surface, new format. | | `refactor` | Internal restructuring, no behavior change intended. | - | `perf` | Performance optimization. | - | `deps` | Dependency bump (NuGet, GitHub Actions). | - | `docs` | README / XML doc / CHANGELOG / RELEASENOTES only. | + | `performance` | Performance optimization. | + | `dependencies` | Dependency bump (NuGet, GitHub Actions). | + | `documentation` | README / XML doc / CHANGELOG / RELEASENOTES only. | | `tests` | Test-only changes, no source change. | | `infra` | CI, build scripts, tooling, llm workflows. | - If multiple apply, pick the most consequential (`bugfix`/`feature` outrank - `refactor`; `perf` outranks `refactor` if measurable). + If multiple apply, pick the most consequential (`bug`/`enhancement` outrank + `refactor`; `performance` outranks `refactor` if measurable). Flag intent drift (in Concerns) if: - Files touched are out of scope vs. the issue/body.