mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-29 21:51:49 +00:00
Use correct endpoint in v7
This commit is contained in:
parent
dd4634ef6f
commit
aeda338984
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-pr-artifacts.yml
vendored
2
.github/workflows/update-pr-artifacts.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
const { owner, repo } = context.repo;
|
||||
|
||||
const findPRNumber = async () => {
|
||||
const pulls = await github.rest.pulls.list({ owner, repo });
|
||||
const pulls = await github.rest.pulls.list.endpoint.merge({ owner, repo });
|
||||
for await (const { data } of github.paginate.iterator(pulls)) {
|
||||
for (const pull of data) {
|
||||
if (pull.head.sha === '${{ github.event.workflow_run.head_sha }}' && pull.user.id === '${{ github.event.sender.id }}') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue