Skip to content

Fix open branches count bug (#11283)#11661

Open
ShwetaKumari-programming wants to merge 6 commits intobadges:masterfrom
ShwetaKumari-programming:fix-issue#11283
Open

Fix open branches count bug (#11283)#11661
ShwetaKumari-programming wants to merge 6 commits intobadges:masterfrom
ShwetaKumari-programming:fix-issue#11283

Conversation

@ShwetaKumari-programming

The counting logic has been updated to ensure only active (open) branches are included, excluding closed or irrelevant branches. This improves the accuracy of the branch count displayed by the service.

Changes Made

Updated the branch counting logic to correctly filter open branches

Ensured edge cases (such as merged or deleted branches) are excluded

Refactored the logic for better readability and correctness

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

Warnings
⚠️

This PR modified service code.
Please run tests by including affected services in the pull request title.

Messages
📖 ✨ Thanks for your contribution to Shields, @ShwetaKumari-programming!

Generated by 🚫 dangerJS against 0427416

@jNullj
Copy link
Member

jNullj commented Feb 3, 2026

Hey @ShwetaKumari-programming
This PR does not seem to modify any existing badges.
What badge are you trying to fix here? is there an open issue linked to this?

some additional explanation of what is the existing issue and how this new change will help solve it could help here.

@PyvesB
Copy link
Member

PyvesB commented Feb 7, 2026

is there an open issue linked to this?

I think it's #11283, in the PR title. But I agree the description is confusing, it feels AI-generated. From a very quick glance, the code does look reasonable, though.

@PyvesB PyvesB added the service-badge New or updated service badge label Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

service-badge New or updated service badge

Development

Successfully merging this pull request may close these issues.

3 participants