redhat-actions / openshift-tools-installer

Download, install and cache OpenShift binaries into your GitHub Actions runners.
https://github.com/marketplace/actions/openshift-tools-installer
MIT License
22 stars 21 forks source link

All the tags are not fetched in the github for the provided tool #43

Closed divyansh42 closed 2 years ago

divyansh42 commented 2 years ago

Presently, only 30 tags are fetched from GitHub APIs by default. image

To make this action work in all the cases, ideally, we'd have to run through all the pages that are fetched by the API.

tetchel commented 2 years ago

good catch!

In the connector, I am using https://github.com/octokit/plugin-paginate-rest.js/ to do the pagination. You can use it to wrap an octokit and paginate easily.

it may not work with the actions octokit, though.