Commit 0841e7e 1 parent fd68feb commit 0841e7e Copy full SHA for 0841e7e
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ async function run() {
8
8
const prTitle = github . context . payload . pull_request . title ;
9
9
const prBody = github . context . payload . pull_request . body ;
10
10
11
- let regex = new RegExp ( `${ jiraPrefix } } -[0-9]+` ) ;
11
+ let regex = new RegExp ( `${ jiraPrefix } -[0-9]+` ) ;
12
12
if ( ! regex . test ( prTitle ) || ! regex . test ( prBody ) ) {
13
13
core . setFailed ( "Jira Issue Key missing in PR title or description." ) ;
14
14
return ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " jira-issue-key-checker" ,
3
- "version" : " 1.5 .0" ,
3
+ "version" : " 1.6 .0" ,
4
4
"description" : " Checks If a PR contains the linked Jira issue key in both the title and the description." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments