From 0f432b3fdd5d3e3064923bb0f9cc0940d4fd3089 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 11 Dec 2022 04:29:13 +0100 Subject: [PATCH] ci: escape backticks in message environment variable --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 646b3c4..0b32374 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: env: - MESSAGE: merge branch `${{ github.head_ref || github.ref_name }}` to `main` + MESSAGE: merge branch \`${{ github.head_ref || github.ref_name }}\` to \`main\` jobs: pull-request: @@ -20,5 +20,5 @@ jobs: with: destination_branch: 'main' pr_title: 'chore: ${{ env.MESSAGE }}' - pr_body: 'This pull request will perform ${{ env.MESSAGE }}.' + pr_body: 'This pull request will ${{ env.MESSAGE }}.' pr_draft: true