Skip to content

Commit

Permalink
Merge pull request libp2p#72 from libp2p/master-upgrade
Browse files Browse the repository at this point in the history
upgrade@3420693358
  • Loading branch information
galargh authored Nov 8, 2022
2 parents 016be6a + 9751518 commit d690530
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ jobs:
owner: process.env.GITHUB_REPOSITORY_OWNER,
repo: process.env.GITHUB_REPOSITORY.slice(process.env.GITHUB_REPOSITORY_OWNER.length + 1),
pull_number: search.items[0].number,
per_page: 1
per_page: 100
});
return pulls[0].sha;
return pulls.at(-1).sha;
} else {
return '';
}
} else {
return process.env.GITHUB_SHA;
Expand Down

0 comments on commit d690530

Please sign in to comment.