Skip to content

Commit 7610db8

Browse files
committed
check-changeset.yml: replace 'echo' with 'cat << [heredoc]' to avoid interpolation of special characters in CHANGESET_ERROR_MESSAGE
1 parent 32397af commit 7610db8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-changeset.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ jobs:
4747
yarn ts-node-script scripts/ci/check_changeset.ts
4848
id: check-changeset
4949
- name: Print changeset checker output
50-
run: echo "${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}"
50+
run: |
51+
cat << 'eof_delimiter_that_will_never_occur_in_CHANGESET_ERROR_MESSAGE'
52+
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
53+
eof_delimiter_that_will_never_occur_in_CHANGESET_ERROR_MESSAGE
5154
- name: Print blocking failure status
5255
run: echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
5356
- name: Find Comment

0 commit comments

Comments
 (0)