Skip to content

Commit

Permalink
fix: keysplit (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygriffiths authored Dec 13, 2021
1 parent 4bf7656 commit db7ee0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const github = require('@actions/github');

try {
const issuekey = core.getInput('issuekey').toLowerCase().replace(/ /g, '')
const keyarr = jirakey.split(',')
const keyarr = issuekey.split(',')
var passed = false
for (let i = 0; i < keyarr.length; i++) {
const pattern = '^(build|ci|chore|docs|feat|fix|perf|refactor|revert|style|task|test)(.*)(:\\s)(' + keyarr[i] + '-\\d+\\s*|none)+(:)'
Expand Down

0 comments on commit db7ee0b

Please sign in to comment.