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:
parent
593edd54a9
commit
4b5e10629b
2
.github/workflows/bounty.yml
vendored
2
.github/workflows/bounty.yml
vendored
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue