Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request status checks badge shows different number of checks #6450

Closed
1 of 3 tasks
niveathika opened this issue May 5, 2021 · 2 comments
Closed
1 of 3 tasks
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@niveathika
Copy link

Are you experiencing an issue with ,

🪲 Description

Pull request checks status badge shows a different number of checks. The following PR has 7 checks, badge only shows 1

🔗 https://img.shields.io/github/status/contexts/pulls/ballerina-platform/module-ballerinax-choreo/70

💡 Possible Solution

@niveathika niveathika added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label May 5, 2021
@chris48s
Copy link
Member

chris48s commented May 5, 2021

Hi. This is a bit of a confusing feature of github - there are two different things reported in the same place on PRs: checks and statuses. See the docs at https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-status-checks#types-of-status-checks-on-github for more info about this

In this case, the number on this badge is based on calling
https://api.github.com/repos/ballerina-platform/module-ballerinax-choreo/commits/7591240de7e9bce2abd24e98a1b191a93a6f1c04/status
which reports one status so it is doing what it is supposed to, but that isn't what you wanted.

There is also an open feature request at #4364 to add a corresponding badge for checks, but we don't currently have a badge for it.

@niveathika
Copy link
Author

niveathika commented May 5, 2021

@chris48s Thank you for the clarification, yes we need the checks badge. Will close this issue and follow the feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants