Skip to content

Commit c3d908f

Browse files
GHA-162 Fix jira urls in create-jira-version and update-release-ticket-status (#74)
1 parent 2f2b6d1 commit c3d908f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

create-jira-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ runs:
8585
JIRA_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_TOKEN }}
8686
PROJECT_KEY_INPUT: ${{ inputs.jira-project-key || env.JIRA_PROJECT_KEY }}
8787
VERSION_NAME: ${{ steps.determine-new-version-name.outputs.new-version-name }}
88-
JIRA_URL: "https://sonarsource${{ ((inputs.use-jira-sandbox || env.USE_JIRA_SANDBOX) == 'true') && '-sandbox-608' }}.atlassian.net/"
88+
JIRA_URL: "https://sonarsource${{ ((inputs.use-jira-sandbox || env.USE_JIRA_SANDBOX) == 'true') && '-sandbox-608' || '' }}.atlassian.net/"
8989
run: |
9090
if [[ -z "$PROJECT_KEY_INPUT" ]]; then
9191
echo "::error::Both jira-project-key input and JIRA_PROJECT_KEY environment variable are missing. One must be provided."

update-release-ticket-status/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
ASSIGNEE_INPUT: ${{ inputs.assignee }}
4747
TICKET_KEY: ${{ inputs.release-ticket-key }}
4848
STATUS: ${{ inputs.status }}
49-
JIRA_URL: "https://sonarsource${{ ((inputs.use-jira-sandbox || env.USE_JIRA_SANDBOX) == 'true') && '-sandbox-608' }}.atlassian.net/"
49+
JIRA_URL: "https://sonarsource${{ ((inputs.use-jira-sandbox || env.USE_JIRA_SANDBOX) == 'true') && '-sandbox-608' || '' }}.atlassian.net/"
5050
run: |
5151
ASSIGNEE_FLAG=""
5252
if [[ -n "$ASSIGNEE_INPUT" ]]; then

0 commit comments

Comments
 (0)