jefflinse / pr-semver-bump

A GitHub Action to bump and tag a new semantic version when a pull request is merged.
MIT License
24 stars 11 forks source link

getCurrentVersion() should fetch and paginate all results #26

Open jefflinse opened 2 years ago

jefflinse commented 2 years ago

Summary

getCurrentVersion() in version.js currently fetches only the first 30 matching refs (default as per the oktokit API), but should actually be fetching all matching refs using pagination. See here.