How do I know the total time I used to run workflow in github action?

可紊 提交于 2020-07-09 12:33:46

问题


Each time I create a PR or make commits, I have some workflows running. But since I have a private repo and I get only 2000 min/month for running workflows on Github Actions, I wanted to track the time used. How do I know how much total time I used out of 2000 free min that Github provides?

Is there a place in Github UI that you see the total time you used/ total time remaining?


回答1:


The best you can get is the view in the main actions tab:

Sadly, no simple sum/month or anything like that was added as of yet.

The next best thing you could try is to whip up a script that collects these values from the page's dom for you.




回答2:


Once you are logged in to GitHub, you can view the GitHub actions minutes usage for your account at https://github.com/settings/billing under GitHub Actions as shown below

The above is documented in GitHub help too.



来源:https://stackoverflow.com/questions/58035886/how-do-i-know-the-total-time-i-used-to-run-workflow-in-github-action

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!