muno92 / gha-usage Goto Github PK
View Code? Open in Web Editor NEWCalculate GitHub Actions usage with specified repository and period.
License: MIT License
Calculate GitHub Actions usage with specified repository and period.
License: MIT License
0.1.0
Sometimes, TLS handshake timeout is happend when fetch job.
No error
add sub command count
and calc-time
curl 'https://api.github.com/repos/REPO_OWNER/REPO_NAME/actions/runs?created=START_DATE..END_DATE' | jq '.total_count'
./gha-usage REPO START_DATE END_DATE
./ghausage count REPO START_DATE END_DATE
./ghausage calc-time REPO START_DATE END_DATE
Now, runner type is only linux/windows/mac and not windows/mac job is count as linux.
So, add self-hosted runner to RunnerType and consider not linux/windows/mac job as self-hosted runner.
0.1.0
> ./gha-usage phpstan/phpstan-src 2022-10-19 2022-10-19
phpstan/phpstan-src (2022-10-19 ~ 2022-10-19) usage
Linux: -2561985h29m42s (-9223147782s)
Windows: 41h15m45s (148545s)
Mac: 0s (0s)
positive integer
output (when rate limit remaining is not enough)
Unify to ghausage
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.