{"id":20334887,"url":"https://github.com/mdb/gh-dispatch","last_synced_at":"2026-02-23T12:48:59.721Z","repository":{"id":63302377,"uuid":"555486753","full_name":"mdb/gh-dispatch","owner":"mdb","description":"A gh CLI extension for sending GitHub dispatch events and watching the triggered GitHub Actions runs directly from your terminal.","archived":false,"fork":false,"pushed_at":"2026-01-04T18:38:14.000Z","size":12784,"stargazers_count":8,"open_issues_count":9,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-09T03:38:31.540Z","etag":null,"topics":["cli","gh-extension","go","golang","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-21T17:19:38.000Z","updated_at":"2026-01-04T14:33:03.000Z","dependencies_parsed_at":"2023-01-22T18:30:12.085Z","dependency_job_id":null,"html_url":"https://github.com/mdb/gh-dispatch","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/mdb/gh-dispatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fgh-dispatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fgh-dispatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fgh-dispatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fgh-dispatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/gh-dispatch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fgh-dispatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29164884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T12:44:37.655Z","status":"ssl_error","status_checked_at":"2026-02-06T12:44:13.991Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","gh-extension","go","golang","terminal"],"created_at":"2024-11-14T20:38:28.863Z","updated_at":"2026-02-06T14:35:20.236Z","avatar_url":"https://github.com/mdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI/CD](https://github.com/mdb/gh-dispatch/actions/workflows/cicd.yaml/badge.svg?branch=main)](https://github.com/mdb/gh-dispatch/actions/workflows/cicd.yaml)\n\n# gh-dispatch\n\nA [gh CLI](https://cli.github.com/) extension for triggering [repository_dispatch](https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event) and/or\n[workflow_dispatch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch) events and watching the resulting GitHub Actions\nworkflow run.\n\n![demo](demo.gif)\n\n## Usage\n\nTrigger a repository dispatch event and watch the resulting GitHub Actions run from your terminal:\n\n```\ngh dispatch repository \\\n  --repo \"mdb/gh-dispatch\" \\\n  --workflow \"Hello\" \\\n  --event-type \"hello\" \\\n  --client-payload '{\"name\": \"mike\"}'\n```\n\nTrigger a workflow dispatch event and watch the resulting GitHub Actions run from your terminal:\n\n```\ngh dispatch workflow \\\n  --repo \"mdb/gh-dispatch\" \\\n  --workflow \"workflow_dispatch.yaml\" \\\n  --inputs '{\"name\": \"mike\"}'\n```\n\n## Installation\n\nInstall the `gh` CLI [for your platform](https://github.com/cli/cli#installation). For example, on Mac OS:\n\n```\nbrew install gh\n```\n\nInstall the latest `dispatch` extension from [its releases](https://github.com/mdb/gh-dispatch/releases):\n\n```\ngh extension install mdb/gh-dispatch\n```\n\n## Development\n\nBuild and test `gh-dispatch` locally:\n\n```\nmake\n```\n\nInstall a locally built `gh-dispatch` for use as `gh dispatch`:\n\n```\nmake install\n```\n\nRun acceptance tests against a local `gh-dispatch` installation, verifying the local `gh-dispatch` is able to trigger dispatch events and render the expected output:\n\n```\nmake acc-test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fgh-dispatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fgh-dispatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fgh-dispatch/lists"}