actions / github-script

Write workflows scripting the GitHub API in JavaScript
MIT License
4.19k stars 416 forks source link

Add support for graphql pagination #309

Open tjcorr opened 1 year ago

tjcorr commented 1 year ago

Consider incorporating the https://github.com/octokit/plugin-paginate-graphql.js plugin by default to support pagination for graphql queries similar to how this is already supported for the rest client.

rdash99 commented 2 weeks ago

Just going to bump this as I ran into it today - is there any reason it couldn't be brought in under github.graphql as github.graphql.paginate? (I don't know who the main maintainer for this repo is so I'm just pinging @Jcambass as you were the most recent person to push to main just so it potentially gets seen) - also there are no docs I could find for github.graphql and the docs mentioning pagination direct you to the plugin with no direct instructions as to how to use it in the context of this action...