Skip to content

unreleased-commits - Show ∞ when more than 20 commits - #10319

Merged
fregante merged 1 commit into
mainfrom
claude/unreleased-commits-infinity
Oct 25, 2026
Merged

fregante merged 1 commit into
mainfrom
claude/unreleased-commits-infinity

Conversation

@fregante

Copy link
Copy Markdown
Member

Created by Claude, will be reviewed by @fregante first.

Shows ∞ next to the icon when the default branch is more than 20 commits ahead of the latest tag, instead of leaving the badge empty.

Part of #7777

Related: #5505

Test URLs

Repo with no tags (no button)
https://github.com/refined-github/yolo

Repo with too many unreleased commits
https://github.com/refined-github/sandbox

Repo with some unreleased commits
https://github.com/refined-github/refined-github

Releases page with unreleased commits
https://github.com/facebook/react/releases

Releases page with unreleased commits (user can release)
https://github.com/refined-github/refined-github/releases

Releases page with changelog file
https://github.com/fczbkk/css-selector-generator/releases

Realeasing a new version
https://github.com/refined-github/refined-github/releases/new

Checked

  • Not checked in a browser: the feature needs a logged-in session with a token.

Reviewer tasks

@fregante
fregante marked this pull request as ready for review October 25, 2026 11:06
@fregante

Copy link
Copy Markdown
Member Author
Screenshot

@fregante
fregante merged commit 00243fb into main Oct 25, 2026
16 checks passed
@github-actions

Copy link
Copy Markdown

To maintainers: Please add labels to this PR

@fregante
fregante deleted the claude/unreleased-commits-infinity branch October 25, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant