diff --git a/.github/workflows/discussion_ping.yml b/.github/workflows/discussion_ping.yml index 1305cebdaf7..d639da8e4ff 100644 --- a/.github/workflows/discussion_ping.yml +++ b/.github/workflows/discussion_ping.yml @@ -13,7 +13,7 @@ jobs: env: discussion_url: ${{ github.event.discussion.html_url }} discussion_number: ${{ github.event.discussion.number }} - discussion_title: ${{ toJSON(github.event.discussion.title) }} + discussion_title: ${{ format('{0}', github.event.discussion.title) }} discussion_author: ${{ github.event.discussion.user.login }} discussion_repo: ${{ github.event.repository.full_name }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/pr_ping.yml b/.github/workflows/pr_ping.yml index fa791839b06..b69f563585c 100644 --- a/.github/workflows/pr_ping.yml +++ b/.github/workflows/pr_ping.yml @@ -17,7 +17,7 @@ jobs: env: pr_url: ${{ github.event.pull_request.html_url }} pr_number: ${{ github.event.pull_request.number }} - pr_title: ${{ toJSON(github.event.pull_request.title) }} + pr_title: ${{ format('{0}', github.event.pull_request.title) }} pr_author: ${{ github.event.pull_request.user.login }} pr_repo: ${{ github.event.pull_request.base.repo.full_name }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}