{"id":16942326,"url":"https://github.com/steiza/gh-dependabot","last_synced_at":"2025-04-11T19:32:41.127Z","repository":{"id":138996308,"uuid":"594439852","full_name":"steiza/gh-dependabot","owner":"steiza","description":"gh CLI extension for interacting with Dependabot","archived":false,"fork":false,"pushed_at":"2023-03-09T13:53:01.000Z","size":56,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T15:21:18.811Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steiza.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}},"created_at":"2023-01-28T15:05:30.000Z","updated_at":"2024-05-26T07:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"be9de9ce-3d4a-4286-b1bb-f3d2397daf47","html_url":"https://github.com/steiza/gh-dependabot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fgh-dependabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fgh-dependabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fgh-dependabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fgh-dependabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steiza","download_url":"https://codeload.github.com/steiza/gh-dependabot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248466960,"owners_count":21108567,"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-10-13T21:11:35.984Z","updated_at":"2025-04-11T19:32:41.098Z","avatar_url":"https://github.com/steiza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-dependabot\n\nYou can install this extension with `$ gh ext install steiza/gh-dependabot`.\n\nA [gh CLI extension](https://docs.github.com/en/github-cli/github-cli/using-github-cli-extensions) for interacting with your [Dependabot alerts](https://docs.github.com/en/code-security/dependabot/dependabot-alerts) and [Dependabot security updates](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) from the command line.\n\n## Dependabot alerts\n\nFirst up, Dependabot alerts:\n\n```\n$ gh dependabot alerts -r steiza/dependabot-example\npillow (pip)   /steiza/dependabot-example/pull/2  run  crit  8.1.0 -\u003e 9.2.0     (+ 23) Out-of-bounds Read\nurllib3 (pip)  /steiza/dependabot-example/pull/1  dev  high  1.25.10 -\u003e 1.26.5  Catastrophic backtracking in URL auth...\n```\n\nAlerts are aggregated by dependency and ecosystem, with information about runtime or development dependendies, as well as what version you're currently using.\n\nThere's also an interactive interface:\n\n```\n$ gh dependabot -r steiza/dependabot-example -i\n\n                           Dependabot Alerts for steiza/dependabot-example\n\n  pillow (pip)                                    ┌───────────────────────────────────────────────┐\n  8.1.0 -\u003e 9.2.0                                  │                                               │\n  urllib3 (pip)                                   │  Package:  pillow (pip)                       │\n  1.25.10 -\u003e 1.26.5                               │                                               │\n                                                  │  Has PR:   Y                                  │\n                                                  │                                               │\n                                                  │  Scope:    runtime                            │\n                                                  │                                               │\n                                                  │  Severity: crit                               │\n                                                  │                                               │\n                                                  │  Summary:                                     │\n                                                  │                                               │\n                                                  │  (+ 23) Out-of-bounds Read                    │\n                                                  │                                               │\n                                                  │  Usage:    8.1.0 -\u003e 9.2.0                     │\n                                                  │                                               │\n                                                  └───────────────────────────────────────────────┘\n\n                q: quit   a: view alerts in browser   p: view pull request in browser\n```\n\nIf output is redirected, it will use the JSON it got back from the GitHub API, which could be useful for debugging:\n\n```\n$ gh dependabot -r steiza/dependabot-example | jq\n[\n  {\n    \"DependabotUpdate\": {\n      \"PullRequest\": {\n...\n```\n\n## Dependabot security updates\n\nYou can also land pending Dependabot security updates:\n\n```\n$ gh dependabot updates -r steiza/dependabot-example -m\nhttps://github.com/steiza/dependabot-example/pull/2  75%  pillow (pip)   8.1.0 -\u003e 9.2.0\nhttps://github.com/steiza/dependabot-example/pull/1  66%  urllib3 (pip)  1.25.10 -\u003e 1.26.5\n? Merge 2 pull requests? Yes\nMerging 2 pull requests\nWorking on https://github.com/steiza/dependabot-example/pull/2\n        Pull Request successfully merged\nWorking on https://github.com/steiza/dependabot-example/pull/1\n        Waiting for pull request to be mergable\n        Pull Request successfully merged\n```\n\nThis could be useful if you lots of pending pull requests, or if you want to automate landing these pull requests (see `--yes`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteiza%2Fgh-dependabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteiza%2Fgh-dependabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteiza%2Fgh-dependabot/lists"}