{"id":33863218,"url":"https://github.com/auth0/auth0-ai-pr-analyzer-gh-action","last_synced_at":"2025-12-14T09:00:50.868Z","repository":{"id":313091989,"uuid":"1042270124","full_name":"auth0/auth0-ai-pr-analyzer-gh-action","owner":"auth0","description":"AI PR reviewer for public facing Auth0 repos.","archived":false,"fork":false,"pushed_at":"2025-12-05T15:43:54.000Z","size":103,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-08T02:37:07.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-21T18:40:59.000Z","updated_at":"2025-12-05T19:55:44.000Z","dependencies_parsed_at":"2025-11-28T22:00:43.700Z","dependency_job_id":null,"html_url":"https://github.com/auth0/auth0-ai-pr-analyzer-gh-action","commit_stats":null,"previous_names":["auth0/auth0-ai-pr-analyzer-gh-action"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/auth0/auth0-ai-pr-analyzer-gh-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-ai-pr-analyzer-gh-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-ai-pr-analyzer-gh-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-ai-pr-analyzer-gh-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-ai-pr-analyzer-gh-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0","download_url":"https://codeload.github.com/auth0/auth0-ai-pr-analyzer-gh-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0%2Fauth0-ai-pr-analyzer-gh-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27724102,"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-12-14T02:00:11.348Z","response_time":56,"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":[],"created_at":"2025-12-09T10:00:38.253Z","updated_at":"2025-12-14T09:00:50.862Z","avatar_url":"https://github.com/auth0.png","language":"Shell","funding_links":[],"categories":["Developer Ecosystem"],"sub_categories":[],"readme":"# AI PR Analyzer GitHub Action\n\nA GitHub Actions workflow that provides AI-powered code reviews using Claude via Amazon Bedrock. Automatically analyze pull requests and provide intelligent feedback when triggered by mentioning `@claude` in PR comments or descriptions.\n\n## Key Features\n\n- **AI-Powered Code Reviews**: Leverages Claude AI through Amazon Bedrock for intelligent code analysis\n- **Inline Comments**: Provides line-specific feedback directly in GitHub pull requests\n- **Customizable Instructions**: Support for custom review instructions tailored to your project\n- **File Filtering**: Ability to exclude specific files or directories from review\n- **Clean PR Experience**: Automatically hides outdated bot reviews to keep PRs focused\n- **OIDC Authentication**: Secure AWS authentication without long-lived credentials\n- **Trigger-Based**: Only runs when explicitly requested via `@claude` mentions\n\n## Installation\n\nAdd this reusable workflow to your repository by creating a new workflow file (e.g., `.github/workflows/claude-code-review.yml`):\n\n```yaml\nname: Claude Code PR Review\n\non:\n  issue_comment:\n    types: [ created ]\n  pull_request_review_comment:\n    types: [ created ]\n  pull_request_review:\n    types: [ submitted ]\n\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n```\n\n## Usage\n\n### Basic Usage\n\nOnce the workflow is set up, simply mention `@claude` in:\n- Pull request descriptions\n- PR comments\n- Review comments\n\nThe AI will analyze the code changes and provide intelligent feedback.\n\n### Advanced Configuration\n\n#### Custom Review Instructions\n\n```yaml\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n    with:\n      custom_review_instructions: |\n        When reviewing code changes, please:\n        - Focus on Go best practices and idioms\n        - Check for proper error handling patterns\n        - Verify context usage in long-running operations\n        - Review goroutine and channel usage for race conditions\n        - Check for proper resource cleanup (defer statements)\n```\n\n#### Project Context with CLAUDE.md\n\nFor comprehensive project context and review instructions, we recommend creating a `CLAUDE.md` file in your repository root instead of using `custom_review_instructions`. This approach provides better organization and maintainability of your AI assistant context.\n\n## Examples\n\n### Minimal Configuration\n\nFor a basic setup without any custom parameters:\n\n```yaml\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n```\n\n#### Ignoring Files and Directories\n\nBy default, `vendor` and `dist` directories, and `package-lock.json` files are ignored from the review.\n\nYou can prevent the reviewer from reading specific files and directories by using the `disallowed_tools` parameter with the `Read()` syntax:\n\n```yaml\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n    with:\n      disallowed_tools: |\n        Read(build)\n        Read(__pycache__)\n```\n\n**Allow additional tools:**\n```yaml\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n    with:\n      allowed_tools: \"Bash(npm:*),Bash(yarn:*)\"\n```\n\nYou can also use wildcards with the star symbol:\n\n```yaml\njobs:\n  claude-review:\n    uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main\n    with:\n      disallowed_tools: |\n        Read(*_mock.go)\n        Read(*.pb.go)\n        Read(*.generated.ts)\n```\n\nFor more information on using the `disallowed_tools` parameter, check the [Claude Code documentation](https://github.com/anthropics/claude-code-action/blob/main/docs/configuration.md#custom-tools).\n\n## Contributing\n\nWe appreciate feedback and contribution to this repo! Before you get started, please read the following:\n\n- [Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)\n- [Auth0's code of conduct guidelines](https://github.com/auth0/nextjs-auth0/blob/main/CODE-OF-CONDUCT.md)\n- [This repo's contribution guide](./CONTRIBUTING.md)\n\n## Contact/Support\n\n### Raise an Issue\n\nTo provide feedback or report a bug, please [raise an issue on our issue tracker](https://github.com/auth0/ai-pr-analyzer-github-action/issues).\n\n## What is Auth0?\n\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png\" width=\"150\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n    \u003cimg alt=\"Auth0 Logo\" src=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout \u003ca href=\"https://auth0.com/why-auth0\"\u003eWhy Auth0?\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  This project is licensed under the Apache 2.0 license. See the \u003ca href=\"./LICENSE\"\u003e LICENSE\u003c/a\u003e file for more info.\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fauth0-ai-pr-analyzer-gh-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0%2Fauth0-ai-pr-analyzer-gh-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0%2Fauth0-ai-pr-analyzer-gh-action/lists"}