Using "'" for body

This commit is contained in:
probonopd authored and GitHub committed 2022-06-05 15:20:30 +02:00
1 parent 46a6353107
commit 7a7617d5a4
1 file changed
+2 -2
+2 -2
View File
@@ -82,7 +82,7 @@ jobs:
# Needs permissions, https://github.com/actions/first-interaction/issues/10
if: github.event_name == 'pull_request'
uses: actions/github-script@v4
# Backticks needed for body, https://stackoverflow.com/a/70655285
# Using "'" for body, https://stackoverflow.com/a/70655285
with:
script: |
echo "env.SCREENSHOT_URL: ${{ env.SCREENSHOT_URL }}"
@@ -90,5 +90,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `${{env.SCREENSHOT_URL}}`
body: '${{ env.SCREENSHOT_URL }}'
})