diff --git a/.github/workflows/bounty.yml b/.github/workflows/bounty.yml index c2f5df6ed..cad805f0a 100644 --- a/.github/workflows/bounty.yml +++ b/.github/workflows/bounty.yml @@ -17,12 +17,12 @@ jobs: run: echo "::set-output name=content::$(cat docs/bounty-footer.md)" - name: Append Footer to Issue - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | const issueComment = `${{ steps.footer.outputs.content }}`; - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.name,