Update string formatting in bounty.yml

Changed the string interpolation syntax in bounty.yml. This subtle change from double quotes ("") to backticks (``) ensures proper parsing of the dynamic content, specifically under the 'script' section for 'issueComment'.
This commit is contained in:
Sipke Schoorstra 2024-04-10 19:52:43 +02:00
parent 593edd54a9
commit 4b5e10629b

View file

@ -23,7 +23,7 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const issueComment = "${{ steps.footer.outputs.content }}";
const issueComment = `${{ steps.footer.outputs.content }}`;
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,