Skip to content

Commit

Permalink
Update pr-jira-validation.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimiazoulai authored Dec 2, 2024
1 parent b4c13ed commit 043f4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-jira-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
JIRA_API_URL="https://spotinst.atlassian.net/rest/api/2/issue/$JIRA_TICKET"
JIRA_STATUS=$(curl -s -u $JIRA_USER:$JIRA_API_TOKEN $JIRA_API_URL | jq -r '.fields.status.name')
echo "JIRA_STATUS - $JIRA_STATUS"
if [ "$JIRA_STATUS" != "APPROVED FOR PUBLISHING" ]; then
if [ "$JIRA_STATUS" != "Approved for Publishing" ]; then
echo "Jira ticket $JIRA_TICKET is not in 'Approved for Publishing' status."
exit 1
fi
Expand Down

0 comments on commit 043f4aa

Please sign in to comment.