Skip to content

fix: use gh release create instead of action-gh-release#12180

Merged
kim-em merged 2 commits intomasterfrom
fix-pr-release-10k-limit
Jan 27, 2026
Merged

fix: use gh release create instead of action-gh-release#12180
kim-em merged 2 commits intomasterfrom
fix-pr-release-10k-limit

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Jan 27, 2026

This PR switches the PR release workflow from softprops/action-gh-release to gh release create.

The softprops/action-gh-release action enumerates all releases to check for existing ones, which fails when the repository has more than 10000 releases due to GitHub API pagination limits. The lean4-pr-releases repository has accumulated over 10000 releases, causing the PR release workflow to fail with:

Only the first 10000 results are available.

This is currently blocking all PR toolchain releases, including #12175.

🤖 Prepared with Claude Code

This PR switches the PR release workflow from `softprops/action-gh-release`
to `gh release create`. The `softprops/action-gh-release` action enumerates
all releases to check for existing ones, which fails when the repository
has more than 10000 releases due to GitHub API pagination limits.

The `lean4-pr-releases` repository has accumulated over 10000 releases,
causing the PR release workflow to fail with:
"Only the first 10000 results are available."

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kim-em
Copy link
Collaborator Author

kim-em commented Jan 27, 2026

Note: I've also opened an upstream fix at softprops/action-gh-release#725.

If that PR is merged and released, we could revert this change and go back to using softprops/action-gh-release. However, the gh release create approach works well and has fewer moving parts, so there's no urgency to switch back.

Add a check that artifacts were downloaded successfully before attempting
to create the release. This is equivalent to the `fail_on_unmatched_files: true`
option in the old `softprops/action-gh-release` action.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kim-em kim-em force-pushed the fix-pr-release-10k-limit branch from f59b882 to 971a116 Compare January 27, 2026 04:57
@kim-em kim-em added the changelog-no Do not include this PR in the release changelog label Jan 27, 2026
@kim-em kim-em enabled auto-merge January 27, 2026 05:00
@kim-em kim-em added this pull request to the merge queue Jan 27, 2026
Merged via the queue into master with commit 2e8afdf Jan 27, 2026
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-no Do not include this PR in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant