File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ jobs:
117117 if [[ "${SIZE}" -gt "${{ env.MAX_MESSAGE_SIZE }}" ]] ; then
118118 # truncate the message up to MAX_MESSAGE_SIZE
119119 head -c ${{ env.MAX_MESSAGE_SIZE }} "${MESSAGE_FILE}" > /tmp/truncated
120- echo > /tmp/truncated
121- echo "... (truncated)" > /tmp/truncated
120+ echo >> /tmp/truncated
121+ echo "... (truncated)" >> /tmp/truncated
122122 mv /tmp/truncated "${MESSAGE_FILE}"
123- echo "::warning:: comment message with size ${SIZE} has been truncated to ${{ env.MAX_MESSAGE_SIZE }} bytes."
123+ echo "::warning:: ${{ inputs.artifact_name }} comment message with size ${SIZE} has been truncated to ${{ env.MAX_MESSAGE_SIZE }} bytes."
124124 fi
125125
126126 - name : Find previous PR comment
@@ -148,4 +148,4 @@ jobs:
148148
149149 - name : Notify
150150 run : |
151- echo "::notice::Commented pull request ${{ inputs.pr_number }}"
151+ echo "::notice::Commented pull request ${{ inputs.pr_number }} with ${{ inputs.artifact_name }} "
You can’t perform that action at this time.
0 commit comments