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:
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