diff --git a/.github/workflows/bounty.yml b/.github/workflows/bounty.yml index 252cf83c5..a0b6ccb22 100644 --- a/.github/workflows/bounty.yml +++ b/.github/workflows/bounty.yml @@ -14,16 +14,16 @@ jobs: - name: Read Footer Content id: footer - run: | - content=$(cat .github/bounty-footer.md | jq -Rs .) - echo "::set-output name=content::$content" + uses: jaywcjlove/github-action-read-file@main + with: + path: docs/bounty-footer.md - name: Append Footer to Issue uses: actions/github-script@v7 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,