{"id":19325371,"url":"https://github.com/tony-rowan/ghamma","last_synced_at":"2025-10-24T17:06:12.820Z","repository":{"id":171638632,"uuid":"648205795","full_name":"tony-rowan/ghamma","owner":"tony-rowan","description":"Fetch workflow run durations for Github Actions","archived":false,"fork":false,"pushed_at":"2023-07-04T11:48:47.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:52:38.465Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tony-rowan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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-06-01T12:47:27.000Z","updated_at":"2025-02-23T16:14:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa15bee8-06b0-43f4-8b8b-bbc8fba47ee6","html_url":"https://github.com/tony-rowan/ghamma","commit_stats":null,"previous_names":["tony-rowan/ghamma"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tony-rowan/ghamma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-rowan%2Fghamma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-rowan%2Fghamma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-rowan%2Fghamma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-rowan%2Fghamma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-rowan","download_url":"https://codeload.github.com/tony-rowan/ghamma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-rowan%2Fghamma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280832994,"owners_count":26398969,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ruby"],"created_at":"2024-11-10T02:09:52.973Z","updated_at":"2025-10-24T17:06:12.784Z","avatar_url":"https://github.com/tony-rowan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghamma\nFetch workflow run durations for Github Actions.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add ghamma\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install ghamma\n\n## Usage\n\n### Authentication\n\nThe Github workflows API requires an authenticated user, even for public repos.\nTo use this tool, you will need a\n[Github API Token](https://docs.github.com/en/rest/overview/authenticating-to-the-rest-api#authenticating-with-a-personal-access-token)\nwith at least `read` access to the repo you want to look at.\n\nOnce you have that, make it available.\n\n```\n$ export GH_TOKEN=\"YOUR_API_TOKEN\"\n```\n\nThen fetch the list of available workflows for the repo. The name will be necessary in the next step.\n\n```\n$ ghamma list-workflows tony-rowan ghamma\nFound 1 workflows\nRuby\n```\n\nThen fetch a CSV of the durations of the latest workflow runs.\n\n```\n$ ghamma duration-history tony-rowan ghamma Ruby\nDate,Duration\n2023-06-01T15:44:49Z,21000\n2023-06-01T15:37:21Z,17000\n2023-06-01T15:35:16Z,23000\n2023-06-01T15:31:33Z,19000\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test-unit` to run the tests.\nYou can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/tony-rowan/ghamma. This project is\nintended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the\n[code of conduct](https://github.com/tony-rowan/ghamma/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Ghamma project's codebases, issue trackers, chat rooms and mailing lists is expected to\nfollow the [code of conduct](https://github.com/tony-rowan/ghamma/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-rowan%2Fghamma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftony-rowan%2Fghamma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-rowan%2Fghamma/lists"}