File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 const prTitle = context.payload.pull_request.title;
2020 console.log(`PR Title: ${prTitle}`);
2121
22- // Regex to match Jira issue keys (CDP -123 format)
23- // Supports conventional commits format: type(CDP -123): description
22+ // Regex to match Jira issue keys (CM -123 format)
23+ // Supports conventional commits format: type(CM -123): description
2424 const jiraKeyRegex = /\b[A-Z]+-\d+\b/;
2525
2626 if (!jiraKeyRegex.test(prTitle)) {
@@ -29,11 +29,11 @@ jobs:
2929 Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.
3030
3131 **Example:**
32- - \`feat: add user authentication (CDP -123)\`
32+ - \`feat: add user authentication (CM -123)\`
3333 - \`feat: add user authentication (IN-123)\`
3434
3535 **Projects:**
36- - CDP : Community Data Platform
36+ - CM : Community Data Platform
3737 - IN: Insights
3838
3939 Please add a Jira issue key to your PR title.`;
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ Leverage the JIRA MCP server for efficient ticket management during development.
175175
176176** Ticket Linking:**
177177- When possible reference JIRA tickets in commit messages and PR titles
178- - Use format: ` type(TICKET-KEY) : conventional commit message `
178+ - Use format: ` type: conventional commit message (TICKET-KEY) `
179179- This enables automatic linking between code changes and tickets
180180
181181##### AI Development Guidelines
You can’t perform that action at this time.
0 commit comments