-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Feature request: Project badges #5633
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
Comments
I haven't used gitlab but aren't these badges typically a part of the CICD system and not the version control system? |
Kind of yes, but you can also use them to display your code coverage report from SonarQube for example :) |
It would be great to be able to finally STOP polluting the README.md with all the non-human-readable crap |
But you can preview the README badges when you clone it locally. |
What about putting the badges in the repository description? Then render these images in Markdown. |
Do people actually tend to open README.md files with tools capable of rendering the images in them ? Badges in repository description I guess would be a possible workaround, but proper space for badges sounds even better to me, given the widespread use of badges. |
I just experienced that the GitLab way of doing this has the limit of NOT allowing people to send pull-requests to add badges, so while I still think that it is nice to have an ad-hoc space for rendering the badges, it would be also good for the badges information to be in a file in the repository, like .badges.yml or something. That way different mirrors might eventually end up rendering the same badges too |
Or .badges.md if people really do render the markdown-with-images locally. |
.yaml could be better option imho, also would be nice to allow way for badges to pass branch/tag name in image url, so that it would be possible to link to specific version/branch docs/build status etc |
Gitea gained actions (CI/CD) feature. Can this be implemented now as a part of Gitea Actions? |
I think they are different features. |
Yes, please don't bundle this with Gitea Actions ! I think use case is bigger and not all of use use Gitea Actions ... |
I do yes. VS Code can preview markdown and see the badges. But to be honest, only reason I preview is when I edit. |
Description
It would be super nice if you could add bagdes to a project like the way you can add them in Gitlab this would enable repository maintainers to clearly show the status of their pipelines or code coverage reports without having to out the into the readme.md. The badges should addable via the repo settings with a link_url and a image_url setting.
Screenshots
Example from GitLab:

The text was updated successfully, but these errors were encountered: