Skip to content

Commit

Permalink
Fetch all reviews in `.github/workflows/require-core-maintainer-appro…
Browse files Browse the repository at this point in the history
…val.js` (mlflow#13089)

Signed-off-by: harupy <[email protected]>
  • Loading branch information
harupy committed Sep 9, 2024
1 parent fdaea68 commit 1a36212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/require-core-maintainer-approval.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const CORE_MAINTAINERS = new Set([
]);

module.exports = async ({ github, context, core }) => {
const { data: reviews } = await github.rest.pulls.listReviews({
const reviews = await github.paginate(github.rest.pulls.listReviews, {
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
Expand Down

0 comments on commit 1a36212

Please sign in to comment.