diff options
author | Franck Cuny <fcuny@roblox.com> | 2024-05-06 16:33:49 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@roblox.com> | 2024-05-06 16:33:49 -0700 |
commit | d8602b2da625ea67856c56d70aa159c6142bd952 (patch) | |
tree | 8d4b77e9f060d350f6e7b75e12f763e551293f64 /cmd/ghabilling/README.md | |
parent | more deletion (diff) | |
download | world-d8602b2da625ea67856c56d70aa159c6142bd952.tar.gz |
move ghabilling to python
Diffstat (limited to 'cmd/ghabilling/README.md')
-rw-r--r-- | cmd/ghabilling/README.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cmd/ghabilling/README.md b/cmd/ghabilling/README.md deleted file mode 100644 index 2aa08ce..0000000 --- a/cmd/ghabilling/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# `gha-billing` - -Print information about how many free minutes of GitHub actions are left for this cycle. - -The API for this is documented [here](https://docs.github.com/en/rest/billing/billing?apiVersion=2022-11-28#get-github-actions-billing-for-an-organization). - -For this you need a [token](https://github.com/settings/personal-access-tokens) with the following permissions: -- [plan](https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28#user-permissions-for-plan) - -## usage - -```sh -➜ world git:(main) ✗ go run ./cmd/ghabilling -t github_pat_<TOKEN> -this cycle, 14 minutes have been used, and 1986 minutes are remaining -``` |