Skip to content

Commit

Permalink
fix(action): fix empty input for JIRA_PROJECT
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassebestik authored Oct 3, 2024
1 parent 8c27453 commit 0b1dd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ runs:
JIRA_URL: ${{ env.JIRA_URL }} # Needs to be passed from caller workflow; by ENV (secure), not by input
JIRA_USER: ${{ env.JIRA_USER }} # Needs to be passed from caller workflow; by ENV (secure), not by input
INPUT_CRON_JOB: ${{ github.event_name == 'schedule' && 'true' || '' }}
JIRA_PROJECT: ${{ inputs.jira-project }}
JIRA_PROJECT: ${{ inputs.jira-project != '' && inputs.jira-project || env.JIRA_PROJECT }} # Try input, fallback to enn
JIRA_COMPONENT: ${{ inputs.jira-component }}
JIRA_ISSUE_TYPE: ${{ inputs.jira-issue-type }}

0 comments on commit 0b1dd88

Please sign in to comment.