File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,8 @@ jobs:
203
203
id : comment-body
204
204
run : |
205
205
# Drop first 5 header lines and demote headlines one level
206
- body="$(cat <(cat artifact/transaction-cost.md | sed '1,5d;s/^#/##/') <(cat artifact/end-to-end-benchmarks.md | sed '1,5d;s/^#/##/') | grep -v '^:::')"
207
- body="${body//'%'/'%25'}"
208
- body="${body//$'\n'/'%0A'}"
209
- body="${body//$'\r'/'%0D'}"
210
- echo "body=$body" >> "$GITHUB_OUTPUT"
206
+ cat <(cat artifact/transaction-cost.md | sed '1,5d;s/^#/##/') <(cat artifact/end-to-end-benchmarks.md | sed '1,5d;s/^#/##/') | grep -v '^:::' > comment-body.md
207
+
211
208
- name : 🔎 Find Comment
212
209
uses : peter-evans/find-comment@v2
213
210
id : find-comment
@@ -222,7 +219,7 @@ jobs:
222
219
comment-id : ${{ steps.find-comment.outputs.comment-id }}
223
220
edit-mode : replace
224
221
issue-number : ${{ github.event.pull_request.number }}
225
- body : ${{ steps. comment-body.outputs.body }}
222
+ body-file : comment-body.md
226
223
reactions : rocket
227
224
228
225
build-specification :
You can’t perform that action at this time.
0 commit comments