diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index 80ca6d45f93..334c68bfc56 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -31,13 +31,10 @@ jobs: const mustache = require('mustache') const fs = require('fs') - const issues = await github.rest.issues.listForRepo({ + const issues = await octokit.paginate(github.rest.issues.listForRepo, { owner: context.repo.owner, repo: context.repo.repo, labels: 'tracking set' }); - console.log("Found list of existing issues:", issues) - issues.forEach(issue => { - console.log(issue.title); - }) + console.log("Found list of existing issues:", issues)