Skip to content

Commit 0841e7e

Browse files
committed
version
1 parent fd68feb commit 0841e7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function run() {
88
const prTitle = github.context.payload.pull_request.title;
99
const prBody = github.context.payload.pull_request.body;
1010

11-
let regex = new RegExp(`${jiraPrefix}}-[0-9]+`);
11+
let regex = new RegExp(`${jiraPrefix}-[0-9]+`);
1212
if (!regex.test(prTitle) || !regex.test(prBody)) {
1313
core.setFailed("Jira Issue Key missing in PR title or description.");
1414
return;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jira-issue-key-checker",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"description": "Checks If a PR contains the linked Jira issue key in both the title and the description.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)