fix(ci): fix action script v7 breaking changes v3 (#27042)

This commit is contained in:
Daniel Vaz Gaspar 2024-02-07 17:38:45 +00:00 committed by GitHub
parent f8c75ca50b
commit c77fc7dbaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ jobs:
sort: 'updated',
per_page: 100,
});
const pulls = await github.rest.paginate(opts);
const pulls = await github.paginate(opts);
if (pulls.length > 0) {
console.log(`Found ${pulls.length} open PRs for base branch "${currentBranch}"`)
}
@ -53,7 +53,7 @@ jobs:
repo: context.repo.repo,
pull_number: pull.number,
});
const files = await github.rest.paginate(listFilesOpts);
const files = await github.paginate(listFilesOpts);
if (
files.some(x => x.contents_url.includes('/contents/superset/migrations'))
) {