Skip to content

docs: note that non-default labels must exist before running the triage workflow - #52376

Merged
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-document-label-requirement
Aug 13, 2026
Merged

docs: note that non-default labels must exist before running the triage workflow#52376
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-document-label-requirement

Conversation

Copilot AI commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The AI issue triage guide lists needs-info and priority/p0p2 in add-labels.allowed, but those are not GitHub default labels. Copying the example into a fresh repo produces an opaque runtime failure (label API 404) with nothing in the guide to explain it.

Changes

  • docs/src/content/docs/guides/ai-issue-triage.md: added one paragraph after the security-rationale section stating that every label in allowed must already exist, calling out which ones in the example are non-default, and pointing at gh label create / Settings > Labels as the fix.

Documentation-only; no workflow or code changes.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Document label pre-creation requirement in AI issue triage guide docs: note that non-default labels must exist before running the triage workflow Aug 12, 2026
Copilot AI requested a review from pelikhan August 12, 2026 22:03
@github-actions

Copy link
Copy Markdown
Contributor

PR Triage Summary

Total score: 18/100
Breakdown: Impact 8 (docs-only, 1 file) + Urgency 4 + Quality 6 (draft, tiny) -> DEFER

Automated triage — see labels applied for classification. Full report in the triage issue.

Generated by 🔧 PR Triage Agent · auto · 43.1 AIC · ⌖ 2.43 AIC · ⊞ 7.8K ·

@pelikhan
pelikhan marked this pull request as ready for review August 13, 2026 02:52
Copilot AI balanced review requested due to automatic review settings August 13, 2026 02:53
@pelikhan
pelikhan merged commit c9ac498 into main Aug 13, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/deep-report-document-label-requirement branch August 13, 2026 02:53

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

Documents the label pre-creation requirement for the AI issue triage workflow.

Changes:

  • Explains that allowed labels must exist before execution.
  • Provides CLI and UI creation options.
Show a summary per file
File Description
docs/src/content/docs/guides/ai-issue-triage.md Adds label setup guidance.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced


`add-labels` and `add-comment` matter for security because the agent does not receive direct write access to issues. gh-aw validates label names and comment output before posting, which reduces the risk of prompt injection turning repository analysis into unrestricted writes.

Every label listed under `allowed` must already exist in the target repository. `bug`, `feature`, and `question` ship as GitHub defaults, but labels such as `needs-info`, `priority/p0`, `priority/p1`, and `priority/p2` do not, and applying a missing label fails at runtime. Create them before the first run with `gh label create needs-info` (repeat per label) or from the repository's Settings > Labels page.
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.

[deep-report] Document label pre-creation requirement in AI issue triage guide

3 participants