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

Badge request: "Used by (count)" for GitHub Actions #5673

Open
Cyberbeni opened this issue Oct 8, 2020 · 2 comments
Open

Badge request: "Used by (count)" for GitHub Actions #5673

Cyberbeni opened this issue Oct 8, 2020 · 2 comments
Labels
service-badge New or updated service badge

Comments

@Cyberbeni
Copy link

📋 Description

This badge should show how many other repositories use a given GitHub Action for their workflows.

🔗 Data

Implementation by EndBug: https://github.com/EndBug/api/blob/master/api/github-actions/used-by.ts
Example usage with also useful click action: https://github.com/EndBug/add-and-commit/blob/0c4298a18d3a9d33e3b879c7b73b4a457547d949/README.md

🎤 Motivation

It would give a better measurement about usage than stars do.

@Cyberbeni Cyberbeni added the service-badge New or updated service badge label Oct 8, 2020
@chris48s
Copy link
Member

chris48s commented Oct 9, 2020

This mechanism of performing a free text search for the action name seems a bit crude, especially as GH's text search ignores the / character and views them as 2 strings. I suspect "EndBug add-and-commit" is sufficiently obscure not to raise false positives, but I can see other action names generating some false-positives.
While I probably wouldn't want to frame this as "here's how many people are using your GH action", maybe this concept has legs as a more general search results badge?

@calebcartwright
Copy link
Member

Ironically we were just discussing this (#4559 (comment))

maybe this concept has legs as a more general search results badge?

I could certainly see that as well

@paulmelnikow paulmelnikow changed the title "Used by (count)" badge for GitHub Actions Badge request: "Used by (count)" for GitHub Actions Jul 9, 2021
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
Projects
None yet
Development

No branches or pull requests

3 participants