ci: escape backticks in message environment variable

This commit is contained in:
oSumAtrIX 2022-12-11 04:29:13 +01:00
parent 96cd5618dd
commit 0f432b3fdd
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -7,7 +7,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
MESSAGE: merge branch `${{ github.head_ref || github.ref_name }}` to `main` MESSAGE: merge branch \`${{ github.head_ref || github.ref_name }}\` to \`main\`
jobs: jobs:
pull-request: pull-request:
@ -20,5 +20,5 @@ jobs:
with: with:
destination_branch: 'main' destination_branch: 'main'
pr_title: 'chore: ${{ env.MESSAGE }}' 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 pr_draft: true