diff --git a/.github/workflows/update-prs.yml b/.github/workflows/update-prs.yml index ec3c981f..1c91ac4c 100644 --- a/.github/workflows/update-prs.yml +++ b/.github/workflows/update-prs.yml @@ -13,7 +13,7 @@ jobs: // Get a list of all issues created by the PR opener // See: https://octokit.github.io/rest.js/#pagination const creator = context.payload.sender.login - const prs = await github.rest.request('GET /repos/{owner}/{repo}/pulls', { + const prs = await github.request('GET /repos/{owner}/{repo}/pulls', { owner: context.repo.owner, repo: context.repo.repo, headers: {