Skip to content

Commit ba7047c

Browse files
committed
[Fix] message wording
Signed-off-by: Kent Huang <[email protected]>
1 parent 548ddce commit ba7047c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/recce_ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,10 @@ jobs:
7676
7777
# Handle the case when the recce summary is too long to be displayed in the GitHub PR comment
7878
if [[ `wc -c recce_summary.md | awk '{print $1}'` -ge '65535' ]]; then
79-
cat << EOF
80-
# Recce Summary
81-
The recce summary is too long to be displayed in the GitHub PR comment.
82-
Please check the summary detail in the [Job Summary](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) page.
83-
84-
${{ env.NEXT_STEP_MESSAGE }}
85-
EOF > recce_summary.md
79+
echo '# Recce Summary
80+
The recce summary is too long to be displayed in the GitHub PR comment.
81+
Please check the summary detail in the [Job Summary](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) page.
82+
${{ env.NEXT_STEP_MESSAGE }}' > recce_summary.md
8683
fi
8784
8885
env:

0 commit comments

Comments
 (0)