{"id":20532886,"url":"https://github.com/la3rence/opsbot","last_synced_at":"2025-04-14T06:32:28.477Z","repository":{"id":37972115,"uuid":"331539551","full_name":"la3rence/OpsBot","owner":"la3rence","description":"A serverless robot manages your issues or pull requests from GitHub repo by comments out of the box.","archived":false,"fork":false,"pushed_at":"2025-04-07T09:24:28.000Z","size":125,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T10:28:14.384Z","etag":null,"topics":["ci","github","github-client","robot","serverless","webhook"],"latest_commit_sha":null,"homepage":"https://go.lawrenceli.me/deploy-opsbot","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/la3rence.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":"2021-01-21T06:44:45.000Z","updated_at":"2025-04-07T09:24:13.000Z","dependencies_parsed_at":"2023-12-18T09:55:30.124Z","dependency_job_id":"2c45662e-f5e0-4512-9ee6-84faa3ca4a23","html_url":"https://github.com/la3rence/OpsBot","commit_stats":null,"previous_names":["la3rence/opsbot","lonor/opsbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la3rence%2FOpsBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la3rence%2FOpsBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la3rence%2FOpsBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/la3rence%2FOpsBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/la3rence","download_url":"https://codeload.github.com/la3rence/OpsBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248833963,"owners_count":21168938,"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":["ci","github","github-client","robot","serverless","webhook"],"created_at":"2024-11-16T00:17:36.593Z","updated_at":"2025-04-14T06:32:28.432Z","avatar_url":"https://github.com/la3rence.png","language":"Go","readme":"# OpsBot 🤖️\n\n[![Test](https://github.com/Lonor/OpsBot/actions/workflows/test.yaml/badge.svg)](https://github.com/Lonor/OpsBot/actions/workflows/test.yaml)\n[![codecov](https://codecov.io/gh/Lonor/OpsBot/branch/main/graph/badge.svg?token=H16BEN675E)](https://codecov.io/gh/Lonor/OpsBot)\n\nA robot based on GitHub sdk\nand [Vercel's Serverless Function (Go)](https://vercel.com/docs/runtimes#official-runtimes/go). It acts like\nthe [Kubernetes Prow Robot](https://github.com/k8s-ci-robot). The robot manages your GitHub repo's issues and pull\nrequests by the content of comments that the user sends.\n\nThis project is just getting start and is a toy tool now. For the effectiveness, you can check out any issue or pr from\nthis repo. If you're interested in this stuff as well, issues or pull requests are welcomed.\n\n## Roadmap / Usage\n\n- [x] `/label [label-name]`    Add a label to the issue / PR\n- [x] `/un-label [label-name]` Remove label from the issue / PR\n- [x] `/close`                 Close issue / PR\n- [x] `/reopen`                Reopen issue / PR\n- [x] `/approve`               Approve the PR\n- [x] `/lgtm`                  Merge the PR with rebase\n- [x] `/update`                Update the PR by merging target branch to source PR branch\n- [ ] `/test`                  Test the PR with continuous integration\n- [ ] `/assign [username]`     Assign the issue / PR to the user\n\nOnce every command accepted by bot, there'll be a 👍 reaction shows in the comment.\n\n## Deployment\n\n[![Deploy with Vercel](https://vercel.com/button)](https://go.lawrenceli.me/deploy-opsbot)\n\nRegister a new GitHub account (as the robot)\nand [create its personal access token](https://github.com/settings/tokens/new). Don't forget to config the `BOT_TOKEN`\nand the `WEBHOOK_SECRET` as the production environment variable and invite it as your repo's collaborator for code access.\n\nAfter all set up, a new URL will be generated and you can deploy the bot to your repo.\nGo to GitHub Repository -\u003e Settings -\u003e WebHook. Add a new WebHook, check `application/json`\nand choose all events(or events you care about). Input Payload URL (WebHook Serverless Function API) provided by Vercel,\nsuch as `https://your-username.vercel.app/api/index`. Protect this webhook by using secret with the same string of \n`WEBHOOK_SECRET`.\n\nFor more information you can [contact the author](https://go.lawrenceli.me/contact) or open an issue.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fla3rence%2Fopsbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fla3rence%2Fopsbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fla3rence%2Fopsbot/lists"}