From dd2bfcbfbf6017a3c4d3884171e34c2cc9170663 Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Wed, 7 Feb 2024 17:38:45 +0000 Subject: [PATCH] fix(ci): fix action script v7 breaking changes v3 (#27042) --- .github/workflows/check_db_migration_confict.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_db_migration_confict.yml b/.github/workflows/check_db_migration_confict.yml index 5a5e25e79690d..637252ab3b060 100644 --- a/.github/workflows/check_db_migration_confict.yml +++ b/.github/workflows/check_db_migration_confict.yml @@ -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')) ) {