Add shared PR Format Check workflow#65
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a reusable GitHub Actions workflow (workflow_call) to lint PR title/body formatting and (when non-compliant) post a single reminder comment without blocking merges.
Changes:
- Introduces
.github/workflows/pr-lint.ymlreusable workflow to validate PR title ticket format and required PR description fields. - Adds logic to post a one-time “PR Format Reminder” comment when formatting issues are detected.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
142a1cf to
d73ed15
Compare
c9e23dd to
ed62bfd
Compare
ed62bfd to
ea18acf
Compare
44f3241 to
01682d5
Compare
01682d5 to
c1b7788
Compare
c1b7788 to
cc291aa
Compare
cc291aa to
5bde52b
Compare
5bde52b to
4e9cde2
Compare
…check) - Validates PR title format: TICKET-123 [TICKET-456] : description - Validates description contains: Reason for change, Test Procedure, Risks, Priority - Posts a non-blocking reminder comment if format is missing/incomplete - Skips duplicate comments on re-edits - Supports multiple ticket numbers (user-story + subtask)
4e9cde2 to
8adf9a4
Compare
GoutamD2905
approved these changes
Jul 9, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Adds a reusable
pr-lint.ymlshared workflow that validates PR title and description format across all component repos.What it checks
Title format:
TICKET-123 [TICKET-456] : brief descriptionRDKCOM-5492 RDKBDEV-3336 : ...)Description fields (all required, non-empty):
Reason for change:Test Procedure:Risks:(value is freeform — e.g. Low / Medium / High)Priority:(value is freeform — e.g. P0 / P1 / P2)Behavior
pull_request_target)Usage in component repos
Each repo adds a 9-line caller workflow:
Tested