{"id":23394200,"url":"https://github.com/moltinginstar/anabolic-codeowners","last_synced_at":"2026-04-28T17:32:17.615Z","repository":{"id":231544314,"uuid":"779641196","full_name":"moltinginstar/anabolic-codeowners","owner":"moltinginstar","description":"CODEOWNERS on steroids. A GitHub Action built for monorepos.","archived":false,"fork":false,"pushed_at":"2025-03-03T03:47:08.000Z","size":1653,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T12:41:16.947Z","etag":null,"topics":["ci","code-review","codeowners","github-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/moltinginstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-30T11:43:27.000Z","updated_at":"2025-06-05T10:40:09.000Z","dependencies_parsed_at":"2024-12-21T11:27:03.350Z","dependency_job_id":"2c0a192a-8684-49b4-a49f-ffd292acf63b","html_url":"https://github.com/moltinginstar/anabolic-codeowners","commit_stats":null,"previous_names":["moltinginstar/anabolic-codeowners"],"tags_count":2,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/moltinginstar/anabolic-codeowners","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fanabolic-codeowners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fanabolic-codeowners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fanabolic-codeowners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fanabolic-codeowners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moltinginstar","download_url":"https://codeload.github.com/moltinginstar/anabolic-codeowners/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltinginstar%2Fanabolic-codeowners/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":["ci","code-review","codeowners","github-actions"],"created_at":"2024-12-22T06:13:33.470Z","updated_at":"2026-04-28T17:32:17.599Z","avatar_url":"https://github.com/moltinginstar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg\n    src=\"assets/logo.png\"\n    alt=\"Anabolic Codeowners logo\"\n    width=\"200\"\n  /\u003e\n\n  \u003ch1\u003eAnabolic Codeowners\u003c/h1\u003e\n\n  \u003cp\u003eCODEOWNERS on steroids. Built for monorepos.\u003c/p\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)\n![CI](https://github.com/moltinginstar/anabolic-codeowners/actions/workflows/ci.yaml/badge.svg)\n[![Check dist/](https://github.com/moltinginstar/anabolic-codeowners/actions/workflows/check-dist.yaml/badge.svg)](https://github.com/moltinginstar/anabolic-codeowners/actions/workflows/check-dist.yaml)\n[![CodeQL](https://github.com/moltinginstar/anabolic-codeowners/actions/workflows/codeql-analysis.yaml/badge.svg)](https://github.com/moltinginstar/anabolic-codeowners/actions/workflows/codeql-analysis.yaml)\n[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)\n\n\u003c/div\u003e\n\nAnabolic Codeowners enhances GitHub’s CODEOWNERS functionality, enabling random assignment of code reviewers with per-path granularity. It’s perfect for monorepos, ensuring balanced review workload distribution.\n\n## Features\n\n- Randomly select reviewers from the configured pool to evenly distribute the review load\n- Assign reviewers to specific paths or files in your repository, mirroring CODEOWNERS syntax for intuitive setup\n- Flexibly set the number of reviewers per pull request to maintain balance between thorough review and efficiency\n\n## Usage\n\n### Definition\n\nCreate a workflow `.yaml` under `.github/workflows` like this:\n\n```yaml\nname: Assign Reviewers\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - ready_for_review\n\njobs:\n  assign-reviewers:\n    runs-on: ubuntu-latest\n      steps:\n        - name: Checkout code\n          uses: actions/checkout@v4\n\n        - name: Anabolic Codeowners\n          uses: moltinginstar/anabolic-codeowners@main\n          with:\n            token: ${{ secrets.GITHUB_TOKEN }}\n            config: .github/codeowners.yaml # Configuration file, optional\n            num-reviewers: 1 # Reviewers per rule, optional\n```\n\n### Configuration\n\nTo use Anabolic Codeowners, you must also create a configuration file and assign users to specific filepaths. By default, this file will be named `.github/codeowners.yaml`, or you can specify a different location in the workflow manifest. Here’s an example `codeowners.yaml` for an Nx-based monorepo:\n\n```yaml\n**/*:\n  - agile-codehunter\n  - atomic-committer\n\napps/app1-api/**/*:\n  - alluring-creator\n\n# Override the default reviewers for a specific file\napps/app1-api/src/app.module.ts:\n  - apex-codex\n\n# Exclude specific paths from review\napps/app1-api/src/config/**/*:\n\napps/app1-api/**/*.(spec|test).ts:\n  - agile-codehunter\n\napps/app1-web/**/*:\n  - anomaly-catcher\n  - aurora-cascade\n  - apex-codex\n\nlibs/app1-shared/**/*:\n  - agile-codehunter\n  - aurora-cascade\n```\n\nThe last matching rule for a file _overrides_ previous matches. You can use any path specifier supported by [`minimatch`](https://github.com/isaacs/minimatch), including:\n\n- `*` and `**`\n- Negative (`!`) patterns\n- POSIX character classes (e.g., `[[:alpha:]]`)\n- Etc.\n\n## Contributing\n\nContributions are very welcome! Please submit pull requests or open issues for bugs and feature requests.\n\n## License\n\nAnabolic Codeowners is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltinginstar%2Fanabolic-codeowners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoltinginstar%2Fanabolic-codeowners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltinginstar%2Fanabolic-codeowners/lists"}