{"id":27351811,"url":"https://github.com/enkidevs/approve-ci","last_synced_at":"2025-09-11T16:16:10.962Z","repository":{"id":86436773,"uuid":"56676160","full_name":"enkidevs/approve-ci","owner":"enkidevs","description":":+1: Monitor pull requests and check for approval","archived":false,"fork":false,"pushed_at":"2017-05-18T05:06:16.000Z","size":66,"stargazers_count":35,"open_issues_count":28,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-08T16:40:44.634Z","etag":null,"topics":["bot","continuous-integration","github"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enkidevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-04-20T10:00:50.000Z","updated_at":"2024-01-13T23:55:12.000Z","dependencies_parsed_at":"2023-07-13T17:00:33.554Z","dependency_job_id":null,"html_url":"https://github.com/enkidevs/approve-ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/enkidevs/approve-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkidevs%2Fapprove-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkidevs%2Fapprove-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkidevs%2Fapprove-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkidevs%2Fapprove-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enkidevs","download_url":"https://codeload.github.com/enkidevs/approve-ci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkidevs%2Fapprove-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274666418,"owners_count":25327433,"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-09-11T02:00:13.660Z","response_time":74,"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":["bot","continuous-integration","github"],"created_at":"2025-04-12T20:35:06.707Z","updated_at":"2025-09-11T16:16:10.953Z","avatar_url":"https://github.com/enkidevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# approve-ci\n\n[![build status](https://img.shields.io/travis/enkidevs/approve-ci/master.svg?style=flat-square)](https://travis-ci.org/enkidevs/approve-ci)\n[![Heroku](http://heroku-badge.herokuapp.com/?app=approve-ci\u0026style=flat)](http://approve-ci.herokuapp.com/)\n\nApprove-ci monitors pull requests and checks for approval. Once the number of approvals exceeds the number of disapprovals by a set amount the pull request is marked as 'approved' and is ready to merge.\n\n![approve-ci in use](http://i.imgur.com/2aMhuzk.png)\n\n## How To Use?\n\n- Go to\n - your project on GitHub \u003e Settings \u003e Webhooks \u0026 services \u003e Add Webhook or\n - your organization on GitHub \u003e Settings \u003e Webhooks \u003e Add Webhook\n- Payload URL: (https://approve-ci.herokuapp.com/)\n- Let me select individual events \u003e Check `repo`\n- Add Webhook\n\nAnd you are done. Next time a pull request is opened, you should see the pending status from approve-ci ;)\n\n## Configuration\n\nThe bot can be configured by adding a `.approve-ci` file to the base directory of the repo. Here's a list of the possible options:\n\n```\n{\n  \"name\": \"approve-ci\",\n  \"approvalCount\": 1,\n  \"approvalStrings\": [\"%F0%9F%91%8D\", \":+1:\", \":thumbsup:\"],\n  \"disapprovalStrings\": [\"%F0%9F%91%8E\", \":-1:\", \":thumbsdown:\"],\n  \"approveString\": \"The pull request was approved\",\n  \"rejectString\": \"The pull request needs more work\",\n  \"pendingString\": \"Waiting for approval\"\n}\n```\n\nWhen using emojis you must [URI encodeURI](http://pressbin.com/tools/urlencode_urldecode/) them (as shown above for :thumbsup: and :thumbsdown:).\n\n## Protected branches\n\nGitHub allows you protect branches and to require specific tests to pass before pull requests can be merged. You can set this up by visiting [https://github.com/USERNAME/REPO/settings/branches](https://github.com/USERNAME/REPO/settings/branches), selecting the branch you want to protect and then checking the approve-ci bot (the name is defined in the configuration file, see the next section), approval is needed before a request can be merged.\n\n[![Protected branches](http://i.imgur.com/bpEb9nU.png)](https://github.com/enkidevs/approve-ci/settings/branches)\n\n## How To Contribute or Run Your Own Bot?\n\nIf you want to use a different account for the bot, change the message or extend it to provide additional functionality, we've tried to make it super easy:\n\n```bash\ngit clone https://github.com/enkidevs/approve-ci.git\ncd approve-ci\nnpm install\nnpm start\n# Follow the instructions there\n```\n\nAlternatively you can deploy the bot using Heroku by pressing the button below:\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nOr you can build and deploy on your servers using Docker:\n\n```bash\ndocker build -t approve-ci .\ndocker run -d -p 80:3000 -e GITHUB_TOKEN=\u003cYOUR_GITHUB_TOKEN_HERE\u003e approve-ci\n``` \n\n## License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenkidevs%2Fapprove-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenkidevs%2Fapprove-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenkidevs%2Fapprove-ci/lists"}