1
0
Fork 0
mirror of synced 2026-06-05 18:28:19 +00:00
action-gh-release/__tests__
Kim Morrison 320a0beb24
fix: use getReleaseByTag API instead of iterating all releases (#725)
* fix: use getReleaseByTag API instead of iterating all releases

This avoids GitHub's API pagination limit of 10000 results which causes
failures for repositories with many releases.

The `findTagFromReleases` function now uses the direct `getReleaseByTag`
API for O(1) lookup instead of iterating through all releases with
`allReleases`. This is both more efficient and fixes the 10k limit issue.

Fixes #724

* fix: rebuild bundle after release lookup rebase

Signed-off-by: Rui Chen <rui@chenrui.dev>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2026-03-14 19:57:54 -04:00
..
github.test.ts fix: use getReleaseByTag API instead of iterating all releases (#725) 2026-03-14 19:57:54 -04:00
release.txt honor body_path input when provided. fixes #22 2019-09-29 02:15:58 -04:00
util.test.ts fix: gracefully fallback to body when body_path cannot be read (#671) 2025-10-06 23:50:32 -04:00