jasonetco / action-badges Goto Github PK
View Code? Open in Web Editor NEW🛡⚡️ A README badge service for GitHub Actions
Home Page: https://action-badges.now.sh
License: MIT License
🛡⚡️ A README badge service for GitHub Actions
Home Page: https://action-badges.now.sh
License: MIT License
Get a status badge for all GitHub Action runs on the
master
branch of a repository:
It would be great to add the ability to specify the branch to check, e.g. ?branch=foo
, like with Travis/Circle CI badges.
Thanks you for a nice tool!
There's currently zero tracking for activity. It'd be great to track things like number of requests made to the service in aggregate, just to get a better understanding of how many repos are actually using it.
When I visit the URL for the badge for my public repo (https://action-badges.now.sh/xJREB/microservices-runtime-analysis), I see the correct "build: passing" badge. However, on Github in my README (https://github.com/xJREB/microservices-runtime-analysis), I see a different badge with "build: mixed". Any idea what is happening there? Did I inlcude the badge somehow wrongly?
[![Actions Status](https://action-badges.now.sh/xJREB/microservices-runtime-analysis)](https://github.com/xJREB/microservices-runtime-analysis/actions)
Discovered in #2, there's no way to identify which check suite related to a specific GitHub Actions workflow. I thought that's what the check_name
parameter does, but that's actually the check run, which is an individual GitHub Action (an action
block in a workflow).
This'd be really useful for projects that have multiple workflows, but only want to show the status of one of them - think a release workflow and a test workflow, the badge only needs to show the status of the latter.
Two options:
main.workflow
file, parse it to get the workflow
we care about and the action
s it has, then find the check suite whose list of check runs matches the list of actions. This is... hacky, but might work.Url with this feature would see like {owner}/{repo}/?only_last=true
It would be great if a flat design version is also available.
https://action-badges.now.sh/gr2m/twitter-together
It'd be interesting if it linked to builds:
https://github.com/nock/twitter/runs/76823945
https://github.com/probot/twitter/runs/82446300
or summarized with details like 2/2 failing
What would it take to make this work for private repos? I'm not 100% sure how now.sh stores data on requests, but I know some badge services allow you to pass an api key, would it be possible for us to make that work here too?
![badge](https://action-badges.now.sh/JasonEtco/example-repo?token=$GITHUB_TOKEN)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.