Skip to content

feat: PR triage agent reads customer triage rules from .github/triage.md at runtime#33657

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-pr-triage-workflow
May 21, 2026
Merged

feat: PR triage agent reads customer triage rules from .github/triage.md at runtime#33657
pelikhan merged 2 commits into
mainfrom
copilot/update-pr-triage-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

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 @mnkeifer and apply the otel label.

Copilot AI and others added 2 commits May 21, 2026 00:34
…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 AI requested a review from pelikhan May 21, 2026 00:35
@pelikhan pelikhan marked this pull request as ready for review May 21, 2026 00:42
Copilot AI review requested due to automatic review settings May 21, 2026 00:42
@pelikhan pelikhan merged commit 3b81689 into main May 21, 2026
@pelikhan pelikhan deleted the copilot/update-pr-triage-workflow branch May 21, 2026 00:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.md into the PR triage agent workflow prompt.
  • Adds a new .github/triage.md file defining initial OpenTelemetry routing rules (assign to @mnkeifer, apply otel label).
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}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants