diff --git a/.github/workflows/update-jira.yml b/.github/workflows/update-jira.yml index 1b7534b..54c3c86 100644 --- a/.github/workflows/update-jira.yml +++ b/.github/workflows/update-jira.yml @@ -4,12 +4,7 @@ on: release: types: - created - workflow_run: - workflows: - - release - types: - - completed - conclusion: success + - published jobs: update_jira: @@ -44,7 +39,7 @@ jobs: JIRA_RESPONSE=$( curl -s -u "${{ secrets.JIRA_GURI }}:${{ secrets.JIRA_GURI_TOKEN }}" \ -X GET -H "Accept: application/json" \ - "${{ secrets.JIRA_DOMAIN }}/rest/api/2/issue/${{ env.JIRA_ID }}" + "${{ secrets.JIRA_DOMAIN }}/rest/api/2/issue/$JIRA_ID" ) JIRA_TITLE=$(echo "$JIRA_RESPONSE" | jq -r '.fields.summary')