mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 13:11:58 +00:00
more logging
This commit is contained in:
parent
d47949f8ee
commit
ae39aa82fa
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update-pr-artifacts.yml
vendored
4
.github/workflows/update-pr-artifacts.yml
vendored
|
|
@ -20,10 +20,10 @@ jobs:
|
|||
|
||||
const findPRNumber = async () => {
|
||||
const pulls = await github.rest.pulls.list({ owner, repo });
|
||||
console.log(pulls);
|
||||
for await (const { data } of github.paginate.iterator(pulls)) {
|
||||
for (const pull of data) {
|
||||
console.log(pull);
|
||||
console.log(pull.head);
|
||||
console.log(pull.user);
|
||||
if (pull.head.sha === '${{ github.event.workflow_run.head_sha }}' && pull.user.id === '${{ github.event.sender.id }}') {
|
||||
return pull.number;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue