Skip to content

Add configurable labels to PR dashboard#104

Open
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:pr-dashboard-labels
Open

Add configurable labels to PR dashboard#104
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:pr-dashboard-labels

Conversation

@trask

@trask trask commented Jul 18, 2026

Copy link
Copy Markdown
Member

Allow each PR dashboard repository to configure case-sensitive label patterns that are rendered inline with matching active and draft PRs. Reuse labels from the existing open-pulls response so the feature adds no GitHub API requests, while leaving PR filtering, routing, notifications, and status comments unchanged.

Closes #82

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

Adds configurable, case-sensitive label patterns to PR dashboards without additional GitHub API requests.

Changes:

  • Passes repository label patterns through reusable workflows.
  • Extracts, matches, escapes, deduplicates, and renders labels for active and draft PRs.
  • Adds configuration documentation and test coverage.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pull-request-dashboard/README.md Documents label display configuration.
.github/workflows/pull-request-dashboard.yml Forwards repository label patterns.
.github/workflows/pull-request-dashboard-repo.yml Passes patterns to the publisher.
.github/scripts/pull-request-dashboard/render.py Matches and renders labels inline.
.github/scripts/pull-request-dashboard/publish_dashboard.py Parses configuration and supplies patterns.
.github/scripts/pull-request-dashboard/github_cli.py Extracts labels from open-pull responses.
.github/scripts/pull-request-dashboard/test_render.py Tests label rendering behavior.
.github/scripts/pull-request-dashboard/test_publish_dashboard.py Tests parsing and propagation.
.github/scripts/pull-request-dashboard/test_github_cli.py Tests label extraction and validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@trask
trask marked this pull request as ready for review July 18, 2026 13:49
@trask
trask requested a review from a team as a code owner July 18, 2026 13:49
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.

PR Dashboard: Allow visibility into pre-specified labels

2 participants