Skip to content

Commit

Permalink
fix param casting to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeinpanic committed Nov 14, 2020
1 parent 1e9432a commit bc14b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action-inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getInputs = (): IActionInputs => {
const CUSTOM_ISSUE_NUMBER_REGEXP = core.getInput('custom-issue-number-regexp', { required: false });
const JIRA_PROJECT_KEY = core.getInput('jira-project-key', { required: false });

const USE_BRANCH_NAME: boolean = Boolean(core.getInput('use-branch-name', { required: false }));
const USE_BRANCH_NAME: boolean = core.getInput('use-branch-name', { required: false }) === 'true';
return {
JIRA_TOKEN,
GITHUB_TOKEN,
Expand Down

0 comments on commit bc14b6f

Please sign in to comment.