Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiuliani committed Sep 7, 2020
1 parent fd68feb commit 0841e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -8,7 +8,7 @@ async function run() {
const prTitle = github.context.payload.pull_request.title;
const prBody = github.context.payload.pull_request.body;

let regex = new RegExp(`${jiraPrefix}}-[0-9]+`);
let regex = new RegExp(`${jiraPrefix}-[0-9]+`);
if (!regex.test(prTitle) || !regex.test(prBody)) {
core.setFailed("Jira Issue Key missing in PR title or description.");
return;
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jira-issue-key-checker",
"version": "1.5.0",
"version": "1.6.0",
"description": "Checks If a PR contains the linked Jira issue key in both the title and the description.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0841e7e

Please sign in to comment.