{"id":14263169,"url":"https://github.com/codiform/gh-actions-usage","last_synced_at":"2026-03-07T04:10:34.356Z","repository":{"id":196113678,"uuid":"586435132","full_name":"codiform/gh-actions-usage","owner":"codiform","description":"GitHub CLI Extension to display Github Actions Usage. Go version of gh-actuse.","archived":false,"fork":false,"pushed_at":"2024-11-27T20:56:59.000Z","size":1320,"stargazers_count":17,"open_issues_count":13,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-27T21:33:31.732Z","etag":null,"topics":["gh-extension"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codiform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-08T05:41:22.000Z","updated_at":"2024-11-05T18:27:40.000Z","dependencies_parsed_at":"2023-12-15T04:05:15.064Z","dependency_job_id":null,"html_url":"https://github.com/codiform/gh-actions-usage","commit_stats":null,"previous_names":["codiform/gh-actions-usage"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiform%2Fgh-actions-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiform%2Fgh-actions-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiform%2Fgh-actions-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codiform%2Fgh-actions-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codiform","download_url":"https://codeload.github.com/codiform/gh-actions-usage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229754492,"owners_count":18119126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gh-extension"],"created_at":"2024-08-22T13:03:02.907Z","updated_at":"2026-03-07T04:10:34.289Z","avatar_url":"https://github.com/codiform.png","language":"Go","readme":"![Demo](doc/demo.gif)\n\n# GH Actions Usage\nGitHub CLI extension for measuring the *billable usage* of GitHub Actions in the *current billing period*.\n\nThis is all the information that's available through the API currently:\n- I can't go beyond the current billing period\n- I can't see usage minutes that aren't billable, like self-hosted runners, which don't incur billable time on GitHub Actions\n\nI wrote a version of this extension before the Golang support was available for `gh`, which is still available [here](https://github.com/geoffreywiseman/gh-actuse).\n\n## 📦 Installation\n\n1. Install the GitHub CLI - see the [installation instructions](https://github.com/cli/cli#installation).\n2. Installation requires a minimum version (2.0.0) of the GitHub CLI that supports extensions.\n3. Install this extension: `gh extension install codiform/gh-actions-usage`.\n\n## Usage\n\nDisplay the usage for the current repository:\n```\ngh-actions-usage on  main [!+] via 🐹 v1.19.4\n❯ gh actions-usage\nGitHub Actions Usage\n\ncodiform/gh-actions-usage (2 workflows; 4h 5m):\n- CI (.github/workflows/ci.yml, active, 4h 3m)\n- release (.github/workflows/release.yml, active, 2m 348ms)\n```\n\nDisplay the usage for a specified repository:\n```\ngh-actions-usage on  main [!+] via 🐹 v1.19.4\n❯ gh actions-usage codiform/gh-actions-usage\nGitHub Actions Usage\n\ncodiform/gh-actions-usage (2 workflows; 1h 1s):\n- CI (.github/workflows/ci.yml, active, 59m 20s)\n- release (.github/workflows/release.yml, active, 39s 980ms)\n```\n\nDisplay the usage for multiple specified repositories:\n```\ngh-actions-usage on  main [!+] via 🐹 v1.19.4\n❯ gh actions-usage geoffreywiseman/gh-actuse codiform/gh-actions-usage\nGitHub Actions Usage\n\ngeoffreywiseman/gh-actuse (0 workflows)\n\ncodiform/gh-actions-usage (2 workflows; 0ms):\n- CI (.github/workflows/ci.yml, active, 0ms)\n- release (.github/workflows/release.yml, active, 0ms)\n```\n\nDisplay the usage for all repos of an organization:\n```\ngh-actions-usage on  main [!⇡] via 🐹 v1.19.4 took 2s\n❯ gh actions-usage codiform\nGitHub Actions Usage\n\ncodiform/gh-actions-usage (2 workflows; 0ms):\n- CI (.github/workflows/ci.yml, active, 0ms)\n- release (.github/workflows/release.yml, active, 0ms)\n```\n\nDisplay the usage for all repos of a user:\n```shell\n❯ gh actions-usage kkruszewska\nGitHub Actions Usage\n\nkkruszewska/data_polishers_titanic (0 workflows)\n\nkkruszewska/hello-world (0 workflows)\n```\n\nDisplay the usage for a mix of repos, organizations and users:\n```shell\n❯ gh actions-usage codiform geoffreywiseman/gh-actuse misaha\nGitHub Actions Usage\n\ncodiform/gh-actions-usage (2 workflows; 0ms):\n- CI (.github/workflows/ci.yml, active, 0ms)\n- release (.github/workflows/release.yml, active, 0ms)\n\ngeoffreywiseman/gh-actuse (0 workflows)\n\nmisaha/curly-octo-tribble (0 workflows)\n```\n\nDisplay the usage for a mix of repos using a tab-separated value format (TSV):\n\n```shell\ngh-actions-usage on  feature/formatters [!] via 🐹 v1.21.1 took 2s\n❯ gh actions-usage --output=tsv --skip codiform geoffreywiseman/gh-actuse kim0\nGitHub Actions Usage (3a7cfc0)\n\nRepo\tWorkflow\tMilliseconds\ncodiform/gh-actions-usage\t.github/workflows/ci.yml\t350000\ncodiform/gh-actions-usage\t.github/workflows/release.yml\t2500\nkim0/brave-core\t.github/workflows/pull_request.yml\t0\nkim0/brave-core\t.github/workflows/require-checklist.yml\t0\nkim0/brave-core\t.github/workflows/set-milestone-from-base-branch.yml\t0\nkim0/brave-core\t.github/workflows/alert_unsigned_commits.yml\t0\nkim0/brave-core\t.github/workflows/codeql-analysis.yml\t0\nkim0/haven-main\t.github/workflows/linux-227.yml\t0\nkim0/haven-main\t.github/workflows/linux-229.yml\t0\nkim0/haven-main\t.github/workflows/macos.yml\t0\nkim0/haven-main\t.github/workflows/windows.yml\t0\nkim0/haven-main\t.github/workflows/docker-build-push.yml\t0\nkim0/haven-offshore\t.github/workflows/main.yml\t75035\nkim0/terraform-switcher\t.github/workflows/release.yml\t1239\n```\n\n# References\n- GitHub [REST OpenAPI](https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.yaml)\n- GitHub [Rest Docs](https://docs.github.com/en/rest/reference)\n- [gh-actuse](https://github.com/geoffreywiseman/gh-actuse/blob/main/gh-actuse), the original / bash implementation\n","funding_links":[],"categories":["gh-extension","🧩 Categories"],"sub_categories":["Automation / DevOps"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiform%2Fgh-actions-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodiform%2Fgh-actions-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodiform%2Fgh-actions-usage/lists"}