Skip to content

Commit

Permalink
fix update jira
Browse files Browse the repository at this point in the history
  • Loading branch information
Guri999 committed Jan 30, 2025
1 parent 5323fe9 commit d19e3ba
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/update-jira.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ on:
release:
types:
- created
workflow_run:
workflows:
- release
types:
- completed
conclusion: success
- published

jobs:
update_jira:
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit d19e3ba

Please sign in to comment.