From 94eaee2d075e4dddecb204c50ad7d7994d2f69d7 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 29 Aug 2024 17:37:26 -0400 Subject: [PATCH] [CI] PR-actions: escape PR comment special char --- .github/workflows/pr-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-actions.yml b/.github/workflows/pr-actions.yml index 42af5006bc93..6e5b9479752f 100644 --- a/.github/workflows/pr-actions.yml +++ b/.github/workflows/pr-actions.yml @@ -104,7 +104,7 @@ jobs: - name: Report success and ask to run full checks if: ${{ !failure() && !cancelled() }} run: | - gh pr comment $PR_NUM -b "fix:${PR_ACTION} was [successful]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID).\n### NOW RUN `/fix:all` to ensure that there are no other check issues." + gh pr comment $PR_NUM -b "fix:${PR_ACTION} was [successful]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID).\\n### NOW RUN \`/fix:all\` to ensure that there are no other check issues." env: GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}