Skip to content

Commit

Permalink
reg
Browse files Browse the repository at this point in the history
  • Loading branch information
sdmcgeown committed Jul 16, 2024
1 parent b52e014 commit 42efc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
const payload = context.payload
const prTitle = payload.pull_request.title
// The pattern for JIRA ticket format
const jiraPattern = /^LNK-\d+[:|-]/g
const jiraPattern = /^LNK-\d+[:-]/g
if (!jiraPattern.test(prTitle)) {
console.log('Could not find a LNK Jira ticket in PR title!')
// Fails the workflow
Expand Down

0 comments on commit 42efc27

Please sign in to comment.