Skip to content

Commit db4c76e

Browse files
committed
fix(ci): escape outputs as certain PRs can break GH Actions expressions
1 parent 9a42e9a commit db4c76e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/on_merged_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Debug outputs
22-
run: echo "Outputs ${{ toJSON(needs.get_pr_details.outputs) }}"
22+
run: echo 'Outputs ${{ toJSON(needs.get_pr_details.outputs) }}'
2323
- uses: actions/checkout@v3
2424
- name: "Label PR related issue for release"
2525
uses: actions/github-script@v6

.github/workflows/on_opened_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Debug outputs
22-
run: echo "Outputs ${{ toJSON(needs.get_pr_details.outputs) }}"
22+
run: echo 'Outputs ${{ toJSON(needs.get_pr_details.outputs) }}'
2323
- uses: actions/checkout@v3
2424
- name: "Ensure related issue is present"
2525
uses: actions/github-script@v6

0 commit comments

Comments
 (0)