File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 65
65
API_RETRY_DELAY : ' 2'
66
66
# Documentation paths configuration
67
67
DOCS_PRIMARY_PATH : ' docs/'
68
- DOCS_FILE_PATTERNS : ' ^docs/|^.*\.md$' $'
68
+ DOCS_FILE_PATTERNS : ' ^docs/|^.*\.md$'
69
69
# Documentation metrics thresholds for highlighting significant changes
70
70
SIGNIFICANT_WORDS_THRESHOLD : ' 100'
71
71
# Throttling controls for synchronize events
@@ -1057,9 +1057,8 @@ jobs:
1057
1057
echo "Adding preview link to PR description"
1058
1058
# Add preview link to the end of the PR description
1059
1059
if [[ -n "$PR_BODY" ]]; then
1060
- NEW_BODY="${PR_BODY}
1061
-
1062
- $PREVIEW_SECTION"
1060
+ # Use echo to safely handle multi-line strings
1061
+ NEW_BODY=$(echo "$PR_BODY" && echo "" && echo "$PREVIEW_SECTION")
1063
1062
else
1064
1063
NEW_BODY="$PREVIEW_SECTION"
1065
1064
fi
You can’t perform that action at this time.
0 commit comments