{"id":15018163,"url":"https://github.com/uber-workflow/probot-app-delete-merged-branch","last_synced_at":"2025-08-07T00:36:02.110Z","repository":{"id":57330767,"uuid":"152302644","full_name":"uber-workflow/probot-app-delete-merged-branch","owner":"uber-workflow","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:22:41.000Z","size":116,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T04:46:47.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uber-workflow.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":"2018-10-09T18:39:13.000Z","updated_at":"2019-10-30T22:47:45.000Z","dependencies_parsed_at":"2024-09-12T03:30:02.630Z","dependency_job_id":"6cffe560-a9d9-4d0f-9f1e-2bc1f2cd9471","html_url":"https://github.com/uber-workflow/probot-app-delete-merged-branch","commit_stats":{"total_commits":45,"total_committers":6,"mean_commits":7.5,"dds":"0.48888888888888893","last_synced_commit":"207648c8e1f137e21272a11fa5d4e5cdb544846b"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/uber-workflow/probot-app-delete-merged-branch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-workflow%2Fprobot-app-delete-merged-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-workflow%2Fprobot-app-delete-merged-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-workflow%2Fprobot-app-delete-merged-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-workflow%2Fprobot-app-delete-merged-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber-workflow","download_url":"https://codeload.github.com/uber-workflow/probot-app-delete-merged-branch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-workflow%2Fprobot-app-delete-merged-branch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268655148,"owners_count":24285128,"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-08-04T02:00:09.867Z","response_time":79,"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":[],"created_at":"2024-09-24T19:51:34.980Z","updated_at":"2025-08-07T00:36:02.057Z","avatar_url":"https://github.com/uber-workflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# probot-app-delete-merged-branch\n\nForked from [https://github.com/SvanBoxel/delete-merged-branch](https://github.com/SvanBoxel/delete-merged-branch)\n\nA GitHub app built with [Probot](https://github.com/probot/probot) that automatically deletes a branch after it's merged.\n\n## Running it locally\n1. First, follow [these instructions](https://probot.github.io/docs/development/#configure-a-github-app) for making your own GitHub app.\nGive your app the following permissions:\n    - Repository contents: Read \u0026 Write.\n    - Pull requests: Read\n\n2. Then, clone the repo:\n```sh\ngit clone git@github.com:uber-workflow/probot-app-delete-merged-branch.git\n```\n\n3. Copy `.env.example` to `.env` and set the right environment variables as [here](https://probot.github.io/docs/development/#configure-a-github-app) \n\n4. Now, install app dependencies and run it:\n\n```sh\n# Install dependencies\nnpm install\n\n# Run the bot\nnpm start\n```\n\n## How it works\nThis GitHub app listens to the `pull_request.closed` webhook. If a pull request is closed and the connected branch is merged, it will delete the branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-workflow%2Fprobot-app-delete-merged-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber-workflow%2Fprobot-app-delete-merged-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-workflow%2Fprobot-app-delete-merged-branch/lists"}