Open philipp-horstenkamp opened 4 weeks ago
One way to do this would be to write a "scraper" for Gitea's SVG badge, like we do with GitHub Actions workflows. https://github.com/badges/shields/blob/master/services/github/github-actions-workflow-status.service.js
The issue with this approach (which we also have with GitHub and GitLab badges that scrape like this) is that it won't work for private repos. We allow Gitea users who self-host to set a token for API calls and it wouldn't work for this call.
Any idea if it is possible to get this data via an API call? If not, I think we go with the SVG scraper and accept that limitation, but it would be nice if we could avoid that problem.
📋 Description
Gitea now supports badges in there workflows:
https://docs.gitea.com/next/usage/badge
🔗 Data
https://docs.gitea.com/next/usage/badge
🎤 Motivation
Gitea is a greate engine. Unsing your configurator would make the use easier.