{"id":19249165,"url":"https://github.com/adbayb/github-bot-prmanager","last_synced_at":"2026-05-01T02:34:09.897Z","repository":{"id":89447012,"uuid":"109527516","full_name":"adbayb/github-bot-prmanager","owner":"adbayb","description":"⚙️ A PR bot manager (labels...)","archived":false,"fork":false,"pushed_at":"2024-01-15T02:46:10.000Z","size":79,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T14:17:07.449Z","etag":null,"topics":["github","tool"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/adbayb.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":"2017-11-04T20:22:15.000Z","updated_at":"2022-09-02T07:40:09.000Z","dependencies_parsed_at":"2025-01-05T05:41:58.271Z","dependency_job_id":"b1bb6efe-185a-474d-bf94-b2bc3fd6ffc0","html_url":"https://github.com/adbayb/github-bot-prmanager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adbayb/github-bot-prmanager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adbayb%2Fgithub-bot-prmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adbayb%2Fgithub-bot-prmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adbayb%2Fgithub-bot-prmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adbayb%2Fgithub-bot-prmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adbayb","download_url":"https://codeload.github.com/adbayb/github-bot-prmanager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adbayb%2Fgithub-bot-prmanager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["github","tool"],"created_at":"2024-11-09T18:12:56.067Z","updated_at":"2026-05-01T02:34:09.883Z","avatar_url":"https://github.com/adbayb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-bot-prmanager\n\n## Why ?\n\nThis bot allows to manage more efficiently your github pull requests by setting a set of automatic behaviors.\n\nThese behaviors are defined thanks to a plugin system.\n\nBasically, `github-bot-prmanager` listens to github bot events and responds by a set of actions that can be defined via those plugins.\n\n## Installation\n\n**Manual:**\n\n* [x] Clone the repository: `git clone https://github.com/adbayb/github-bot-prmanager.git`\n* [x] `cd github-bot-prmanager`\n* [x] Creates a `.env` file by following the `.env.example` template to add your github user token (which will act as a user bot)/configure the bot. _Please, note:_ `repo token scope` is the minimal rights requirements to give to the user bot.\n* [x] `npm install`\n* [x] `npm start`\n* [x] You're all done, the bot is now lauched and listens to port 3000.\n* [x] You can now enable your bot into your github repository by adding your bot server as a github webhook (@see [Github documentation: Setting up a Webhook](https://developer.github.com/webhooks/creating/#setting-up-a-webhook)).\n\n**Docker:**\n\n* [x] Clone the repository: `git clone https://github.com/adbayb/github-bot-prmanager.git`\n* [x] `cd github-bot-prmanager`\n* [x] Creates a `.env` file by following the `.env.example` template to add your github user token (which will act as a user bot)/configure the bot. _Please, note:_ `repo token scope` is the minimal rights requirements to give to the user bot.\n* [x] `docker build -t github/bot .`\n* [x] `docker run -p 3000:3000 github/bot`\n* [x] You're all done, the bot is now lauched and listens to port 3000.\n* [x] You can now enable your bot into your github repository by adding your bot server as a github webhook (@see [Github documentation: Setting up a Webhook](https://developer.github.com/webhooks/creating/#setting-up-a-webhook)).\n\n## List of plugins\n\n**Related to label management:**\n\n* [x] **[Approval](./src/plugins/approvedLabel.js)**: For each review, it checks if the targetted lowest required approval is reached. If yes, it adds the label `LGTM` to the PR.\n* [x] **[Title](./src/plugins/titleLabel.js)**: For each created pull request, it checks the title format and extracts the scope from it. Basically, a pull request must follow the angular commit message convention ([Angular's commit convention](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines): `\u003ctype\u003e(\u003cscope\u003e): \u003csubject\u003e`) to be trated by this plugin. It will extract the scope and add associated label to the pull request (creates one if not).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadbayb%2Fgithub-bot-prmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadbayb%2Fgithub-bot-prmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadbayb%2Fgithub-bot-prmanager/lists"}