Skip to content

Commit 0b1dd88

Browse files
fix(action): fix empty input for JIRA_PROJECT
1 parent 8c27453 commit 0b1dd88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ runs:
7575
JIRA_URL: ${{ env.JIRA_URL }} # Needs to be passed from caller workflow; by ENV (secure), not by input
7676
JIRA_USER: ${{ env.JIRA_USER }} # Needs to be passed from caller workflow; by ENV (secure), not by input
7777
INPUT_CRON_JOB: ${{ github.event_name == 'schedule' && 'true' || '' }}
78-
JIRA_PROJECT: ${{ inputs.jira-project }}
78+
JIRA_PROJECT: ${{ inputs.jira-project != '' && inputs.jira-project || env.JIRA_PROJECT }} # Try input, fallback to enn
7979
JIRA_COMPONENT: ${{ inputs.jira-component }}
8080
JIRA_ISSUE_TYPE: ${{ inputs.jira-issue-type }}

0 commit comments

Comments
 (0)