feat: PR triage agent reads customer triage rules from .github/triage.md at runtime#33657
Merged
Conversation
…create triage instructions Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
feat: PR triage agent reads customer instructions from .github/triage.md
feat: PR triage agent reads customer triage rules from .github/triage.md at runtime
May 21, 2026
Copilot created this pull request from a session on behalf of
pelikhan
May 21, 2026 00:35
View session
pelikhan
approved these changes
May 21, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Enables the PR triage agent prompt to load operator-defined triage routing rules from .github/triage.md at runtime, so routing can be updated without recompiling the workflow lock file.
Changes:
- Injects a runtime import of
.github/triage.mdinto the PR triage agent workflow prompt. - Adds a new
.github/triage.mdfile defining initial OpenTelemetry routing rules (assign to@mnkeifer, applyotellabel).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/pr-triage-agent.md | Adds a runtime-import hook to pull in triage rules at agent invocation time. |
| .github/triage.md | New operator-maintained triage rules content (OpenTelemetry routing). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 1
Comment on lines
+457
to
459
| {{#runtime-import .github/triage.md}} | ||
|
|
||
| {{#runtime-import shared/noop-reminder.md}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PR triage workflow had no mechanism for operators to supply custom routing rules without modifying and recompiling the workflow itself.
Changes
.github/workflows/pr-triage-agent.md— injects{{#runtime-import .github/triage.md}}into the prompt body (before the noop-reminder). Runtime imports are resolved at agent invocation time, so triage rules can be updated without recompiling the lock file..github/triage.md(new) — initial customer instructions: assign any OpenTelemetry-related PR or issue (keywords: otel, otlp, traces, telemetry, observability) to@mnkeiferand apply theotellabel.