1
0
Fork 0
mirror of synced 2026-06-05 12:35:14 +00:00
action-gh-release/src
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.ts fix: use getReleaseByTag API instead of iterating all releases (#725) 2026-03-14 19:57:54 -04:00
main.ts fix: fetch correct asset URL after finalization; test; some refactoring (#738) 2026-03-14 19:49:25 -04:00
util.ts fix: gracefully fallback to body when body_path cannot be read (#671) 2025-10-06 23:50:32 -04:00