Add configurable labels to PR dashboard#104
Open
trask wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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.
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.
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