{"id":13502106,"url":"https://github.com/jsdelivr/bot","last_synced_at":"2025-03-29T10:32:44.908Z","repository":{"id":16399563,"uuid":"19150424","full_name":"jsdelivr/bot","owner":"jsdelivr","description":"DEPRECATED The jerk of a bot that checks PRs and responds in comments","archived":true,"fork":false,"pushed_at":"2019-10-23T02:09:11.000Z","size":77,"stargazers_count":22,"open_issues_count":19,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-14T07:10:24.533Z","etag":null,"topics":["bot","mod","prs","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jsdelivr.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}},"created_at":"2014-04-25T15:17:24.000Z","updated_at":"2024-03-06T12:10:50.000Z","dependencies_parsed_at":"2022-09-13T08:12:10.700Z","dependency_job_id":null,"html_url":"https://github.com/jsdelivr/bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdelivr%2Fbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdelivr%2Fbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdelivr%2Fbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdelivr%2Fbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdelivr","download_url":"https://codeload.github.com/jsdelivr/bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245138511,"owners_count":20566968,"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":["bot","mod","prs","python"],"created_at":"2024-07-31T22:02:02.047Z","updated_at":"2025-03-29T10:32:44.882Z","avatar_url":"https://github.com/jsdelivr.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"jsDelivr bot\n=============\n\nThe bot which validates and comments on PRs, squashs commits and merges submissions.\n\n### Why\n\nCouple reasons: we wanted something even faster than **@jimaek** (he usually took a about a minute whereas the bot is under a second), bigger than **@jimaek** (checks more things than a human can), better than **@jimaek** (can squash commits before merging), and stronger than **@jimaek** (the bot defers to other mods for help if unsure) =D\n\n#### Why not travis/jenkins etc\n\nCould of be done, but it would have been much, much slower to validate and be difficult to support issue comment hooks (actions when a mod wants a pr squashed) and auto merging. The nice thing about bot is it only interacts with the Github API and avoids cloning the repo most of the time.\n\n### How\n\nBorn out of a drunk weekend adventure to replace **@jimaek** with the github API, github3.py, and the jsDelivr API\n\n### Usage\n\nNote: squashing requires [`git-extras`](https://github.com/tj/git-extras)\n\n```sh\npip install -r requirements.txt\n```\n\nAdjust `config.yml` as necessary (tokens, user name, repo clone path, etc)\n\nRun server on port 9000\n```sh\n./run.py\n\n#Background\nnohup ./run.py \u0026\n```\n\n```sh\n./cli \u003cpull-request-number\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdelivr%2Fbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdelivr%2Fbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdelivr%2Fbot/lists"}