Skip to content

RDKB-66032 : Fix PR title regex to allow digits in Jira project keys - #68

Merged
apattu200 merged 2 commits into
developfrom
fix/pr-lint-project-key
Jul 23, 2026
Merged

RDKB-66032 : Fix PR title regex to allow digits in Jira project keys#68
apattu200 merged 2 commits into
developfrom
fix/pr-lint-project-key

Conversation

@bunnam988

@bunnam988 bunnam988 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Fixes the PR Format Check title validation to accept Jira project keys with digits (e.g. XB10, XB7, TCHXB7).

Changed project-key pattern from [A-Z]+ to [A-Z][A-Z0-9]+.

Real example: rdkcentral/utopia#374 was wrongly flagged as failing.

Jira project keys can contain digits (e.g. XB10, XB7, TCHXB7, XER10) as long as
they start with a letter. The previous regex [A-Z]+ only matched letter-only keys
like RDKB/SHARMAN, so valid tickets such as XB10-2917 were incorrectly flagged.
Updated to [A-Z][A-Z0-9]+ for both single and multi-ticket titles.
@bunnam988
bunnam988 requested a review from a team as a code owner July 23, 2026 04:45
Copilot AI review requested due to automatic review settings July 23, 2026 04:45

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

Updates the shared PR title lint workflow to correctly accept Jira project keys that include digits, preventing false negatives for titles like XB10-2917 : ....

Changes:

  • Adjusted the Jira project-key regex in the PR title format check from [A-Z]+ to [A-Z][A-Z0-9]+ to allow digits after the first character.

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

Comment thread .github/workflows/pr-lint.yml Outdated
Copilot AI review requested due to automatic review settings July 23, 2026 04:49

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pr-lint.yml
@apattu200
apattu200 merged commit 1972946 into develop Jul 23, 2026
8 checks passed
@apattu200
apattu200 deleted the fix/pr-lint-project-key branch July 23, 2026 04:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants