Skip to content

Commit

Permalink
add github-script
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Jan 17, 2024
1 parent fa32b46 commit 15c9898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 15c9898

Please sign in to comment.