From 15c989810dce4f467bc22c6fd1171dd83ae3eb81 Mon Sep 17 00:00:00 2001 From: benStre Date: Wed, 17 Jan 2024 19:50:35 +0100 Subject: [PATCH] add github-script --- .github/workflows/update-prs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-prs.yml b/.github/workflows/update-prs.yml index 7a5fbdca..63ddbbc8 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 = gawait github.rest.request('GET /repos/{owner}/{repo}/pulls', { + const prs = await github.rest.request('GET /repos/{owner}/{repo}/pulls', { owner: context.repo.owner, repo: context.repo.repo headers: {