Fix PR_BODY variable setting (#54949)
This commit is contained in:
2
.github/workflows/ready-for-doc-review.yml
vendored
2
.github/workflows/ready-for-doc-review.yml
vendored
@@ -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]+$')
|
||||
|
||||
Reference in New Issue
Block a user