{"id":43728557,"url":"https://github.com/qkitzero/ant-pr","last_synced_at":"2026-04-01T18:22:07.018Z","repository":{"id":307808798,"uuid":"1026567207","full_name":"qkitzero/ant-pr","owner":"qkitzero","description":"🐜 Github Actions for small, beautiful pull requests","archived":false,"fork":false,"pushed_at":"2026-03-15T07:37:58.000Z","size":131,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-15T19:25:50.951Z","etag":null,"topics":["code-review","developer-tools","github-actions","pull-requests"],"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/qkitzero.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-26T06:30:24.000Z","updated_at":"2026-03-15T08:57:55.000Z","dependencies_parsed_at":"2025-08-02T11:41:25.119Z","dependency_job_id":"e3eb948c-0069-4d13-8ce8-f91b12cc6131","html_url":"https://github.com/qkitzero/ant-pr","commit_stats":null,"previous_names":["qkitzero/ant-pr"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/qkitzero/ant-pr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qkitzero%2Fant-pr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qkitzero%2Fant-pr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qkitzero%2Fant-pr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qkitzero%2Fant-pr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qkitzero","download_url":"https://codeload.github.com/qkitzero/ant-pr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qkitzero%2Fant-pr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["code-review","developer-tools","github-actions","pull-requests"],"created_at":"2026-02-05T09:47:00.799Z","updated_at":"2026-04-01T18:22:07.008Z","avatar_url":"https://github.com/qkitzero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐜 Ant PR: \"Small Pull Requests are Beautiful\"\n\n[![release](https://img.shields.io/github/v/release/qkitzero/ant-pr?logo=github)](https://github.com/qkitzero/ant-pr/releases)\n\n**A GitHub Action that champions the philosophy of small, incremental changes by keeping your pull requests tiny and manageable.**\n\nJust like a colony of ants working together with small, consistent efforts to build something great, this action helps your team maintain a healthy and efficient development workflow.\n\n![ant-pr-comment-example.png](images/ant-pr-comment-example.png)\n\n---\n\n## ✨ Why Small Pull Requests?\n\nSmaller pull requests are:\n\n- **✅ Easier \u0026 Faster to Review:** Less code means quicker, more thorough reviews.\n- **🐛 Easier to Debug:** Pinpoint issues with surgical precision.\n- **🚀 Deployed Faster:** Small changes merge smoothly into the main branch.\n- **🧘 Less Stressful:** Reduce the mental load for both authors and reviewers.\n\nAnt PR helps you enforce this best practice automatically.\n\n## 🚀 Getting Started\n\nIntegrate Ant PR into your workflow in seconds.\n\n### 1. Create the Workflow\n\nCreate a workflow file (e.g., `.github/workflows/ant-pr.yml`) with the following content. This workflow ensures that the action has the necessary information to compare file changes.\n\n```yaml:ant-pr.yml\nname: Ant PR\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches-ignore:\n      - \"main\"\n\npermissions:\n  pull-requests: write\n\njobs:\n  ant-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: qkitzero/ant-pr@v1.5.1\n        with:\n          config-path: \".ant-pr.yml\"\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### 2. Configure Limits\n\nCreate a `.ant-pr.yml` file in your repository to define limits for line changes and the total number of changed files.\n\nIf this file is not present, the action will still run, but no limits will be enforced.\n\n```yaml:.ant-pr.yml\nlimits:\n  files: 15 # Limit the total number of changed files in a PR.\n  lines: # Define line change limits for different parts of your codebase.\n    \"\": 100 # Root directory\n    \"frontend/\": 200\n    \"backend/\": 200\n    \"docs/\": 300\n```\n\n### 3. Ignoring Files\n\nYou can also ignore files that you don't want to be checked by adding an `ignore` section to your `.ant-pr.yml` file. This is useful for ignoring auto-generated files like `package-lock.json`.\n\n```yaml:.ant-pr.yml\nignore:\n  - \"package-lock.json\"\n  - \"gen/*\"\n```\n\nThat's it! Ant PR will now check new pull requests and add a comment if they exceed the defined limits.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqkitzero%2Fant-pr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqkitzero%2Fant-pr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqkitzero%2Fant-pr/lists"}