File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1123,16 +1123,22 @@ jobs:
1123
1123
# Create the comment with the preview link
1124
1124
if [[ -n "$FILE_PREVIEW_URL" && -n "$MOST_CHANGED" ]]; then
1125
1125
# If we have a specific file that changed the most, link directly to it
1126
- COMMENT="### Documentation Preview 📖
1126
+ COMMENT=$(cat <<EOF
1127
+ # ## Documentation Preview 📖
1127
1128
1128
1129
[View full documentation preview]($PREVIEW_URL)
1129
1130
1130
- Most changed file : [View \`$MOST_CHANGED\`]($FILE_PREVIEW_URL) (+$MOST_CHANGED_ADDITIONS lines)"
1131
+ Most changed file : [View \`$MOST_CHANGED\`]($FILE_PREVIEW_URL) (+$MOST_CHANGED_ADDITIONS lines)
1132
+ EOF
1133
+ )
1131
1134
else
1132
1135
# Just link to the main docs page
1133
- COMMENT="### Documentation Preview 📖
1136
+ COMMENT=$(cat <<EOF
1137
+ # ## Documentation Preview 📖
1134
1138
1135
- [View documentation preview]($PREVIEW_URL)"
1139
+ [View documentation preview]($PREVIEW_URL)
1140
+ EOF
1141
+ )
1136
1142
fi
1137
1143
1138
1144
# Add info about total changed files, words, and images
You can’t perform that action at this time.
0 commit comments