{"id":40582200,"url":"https://github.com/brainstormforce/pull-request-reviewer","last_synced_at":"2026-01-21T02:36:45.349Z","repository":{"id":258564679,"uuid":"874139908","full_name":"brainstormforce/pull-request-reviewer","owner":"brainstormforce","description":"PR Reviewer is a simple, lightweight tool for reviewing GitHub Pull Requests. It streamlines the code review process by providing a clean interface to view and comment on diffs, see reviewer feedback, and manage multiple PRs efficiently.","archived":false,"fork":false,"pushed_at":"2024-11-18T10:25:33.000Z","size":6946,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-18T11:51:36.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/brainstormforce.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T10:17:08.000Z","updated_at":"2024-11-18T10:25:32.000Z","dependencies_parsed_at":"2024-11-21T01:16:32.217Z","dependency_job_id":null,"html_url":"https://github.com/brainstormforce/pull-request-reviewer","commit_stats":null,"previous_names":["brainstormforce/pull-request-reviewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brainstormforce/pull-request-reviewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstormforce%2Fpull-request-reviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstormforce%2Fpull-request-reviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstormforce%2Fpull-request-reviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstormforce%2Fpull-request-reviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainstormforce","download_url":"https://codeload.github.com/brainstormforce/pull-request-reviewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainstormforce%2Fpull-request-reviewer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28623517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"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":"2026-01-21T02:36:45.276Z","updated_at":"2026-01-21T02:36:45.342Z","avatar_url":"https://github.com/brainstormforce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSF AI Code Reviewer\n\nThe BSF AI Code Reviewer is an AI-powered code review system that leverages OpenAI to provide automatic feedback on code quality, following industry standards and best practices. It helps in identifying code smells, potential security risks, and adherence to coding conventions.\n\n# Features\n\n- Leverages OpenAI's API to automatically review pull requests.\n- Delivers smart comments and recommendations for enhancing code quality and security.\n- Auto approve the PR if no actionable comments are found.\n- Auto resolve the comments if the code changes are made and accepted.\n- Supports php, js \u0026 jsx files\n- Simple setup and seamless integration with GitHub workflows.\n\n# Shortcodes\n\n- **[BSF-PR-SUMMARY]** - This shortcode will display the summary of the PR review.\n\n## Setup\n\n1. To use this GitHub Action, you need an OpenAI API key. If you don't have one, sign up for an API key\n   at [OpenAI](https://beta.openai.com/signup).\n\n2. Add the OpenAI API key as a GitHub Secret in your repository with the name `OPENAI_API_KEY`. You can find more\n   information about GitHub Secrets [here](https://docs.github.com/en/actions/reference/encrypted-secrets).\n\n3. Create a `.github/workflows/bsf-pr-review.yml` file in your repository and add the following content:\n\n```yaml\nname: BSF Code Reviewer\n\non:\n  pull_request:\n    types: [opened, synchronize, edited]\n\npermissions: write-all\n\njobs:\n  CHECK_SHORTCODE:\n    if: contains(github.event.pull_request.body, '[BSF-PR-SUMMARY]')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n\n      - name: WRITE PR SUMMARY\n        uses: brainstormforce/pull-request-reviewer@master\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          ACTION_CONTEXT: 'CHECK_SHORTCODE'\n          EXCLUDE_EXTENSIONS: \"md, yml, lock\"\n          INCLUDE_EXTENSIONS: \"php, js, jsx, ts, tsx, css, scss, html, json\"\n          EXCLUDE_PATHS: \"node_modules/,vendor/\"\n\n  CODE_REVIEW:\n    needs: CHECK_SHORTCODE\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n\n      - name: AI CODE REVIEW\n        uses: brainstormforce/pull-request-reviewer@master\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          ACTION_CONTEXT: \"CODE_REVIEW\"\n          EXCLUDE_EXTENSIONS: \"md, yml, lock\"\n          INCLUDE_EXTENSIONS: \"php, js, jsx, ts, tsx, css, scss, html, json\"\n          EXCLUDE_PATHS: \"node_modules/,vendor/\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstormforce%2Fpull-request-reviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainstormforce%2Fpull-request-reviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstormforce%2Fpull-request-reviewer/lists"}