1
0
mirror of synced 2026-01-04 00:06:20 -05:00

Fix PR_BODY variable setting (#54949)

This commit is contained in:
Joe Clark
2025-03-20 16:02:28 -07:00
committed by GitHub
parent 196b84e4fd
commit ea5c3eba02

View File

@@ -52,7 +52,7 @@ jobs:
echo "Extracting issue numbers from PR description..."
# Clean up PR description to avoid syntax errors in grep command
PR_BODY=$(printf '%q' "${{ github.event.pull_request.body }}")
PR_BODY="${{ github.event.pull_request.body }}"
echo "PR description to use in the script: $PR_BODY"
ISSUE_NUMS=$(echo "$PR_BODY" | grep -oE '(https://github.com/github/docs-content/issues/[0-9]+|github/docs-content#[0-9]+|#[0-9]+)' | grep -oE '[0-9]+$')