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 b22019c commit 392c368
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 @@ -59,7 +59,7 @@ jobs:
id: extract_jira_ticket
run: |
PR_BODY=$(jq -r '.pull_request.body' < $GITHUB_EVENT_PATH)
JIRA_TICKET=$(echo "$PR_BODY" | grep -o "Documentation-[0-9]*" | head -n 1)
JIRA_TICKET=$(echo "$PR_BODY" | grep -o "DOC-[0-9]*" | head -n 1)
if [ -z "$JIRA_TICKET" ]; then
echo "No Jira ticket found in the PR body."
exit 1
Expand Down

0 comments on commit 392c368

Please sign in to comment.