{"id":26120563,"url":"https://github.com/mys1024/cr-asst-action","last_synced_at":"2026-04-30T08:32:07.946Z","repository":{"id":281375078,"uuid":"945069260","full_name":"mys1024/cr-asst-action","owner":"mys1024","description":"An action powered by cr-asst that reviews your pull requests with AI assistants.","archived":false,"fork":false,"pushed_at":"2025-08-05T09:34:21.000Z","size":2000,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T21:17:18.289Z","etag":null,"topics":["action","ai","assitant","cicd","codereview","github-actions","llm","nodejs"],"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/mys1024.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-08T15:34:09.000Z","updated_at":"2025-08-05T09:34:21.000Z","dependencies_parsed_at":"2025-07-28T10:02:42.244Z","dependency_job_id":"d5d641a3-b42a-4a6c-9583-e067f738a04f","html_url":"https://github.com/mys1024/cr-asst-action","commit_stats":null,"previous_names":["mys1024/cr-asst-action"],"tags_count":20,"template":false,"template_full_name":"mys1024/starter-node","purl":"pkg:github/mys1024/cr-asst-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fcr-asst-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fcr-asst-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fcr-asst-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fcr-asst-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mys1024","download_url":"https://codeload.github.com/mys1024/cr-asst-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mys1024%2Fcr-asst-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399610,"owners_count":25980331,"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-10-04T02:00:05.491Z","response_time":63,"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":["action","ai","assitant","cicd","codereview","github-actions","llm","nodejs"],"created_at":"2025-03-10T13:43:09.267Z","updated_at":"2025-10-05T01:49:51.442Z","avatar_url":"https://github.com/mys1024.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cr-asst-action\n\n[![license](https://img.shields.io/github/license/mys1024/cr-asst-action)](./LICENSE)\n[![version](https://img.shields.io/github/package-json/v/mys1024/cr-asst-action)](https://github.com/mys1024/cr-asst-action/releases)\n[![workflow-ci](https://img.shields.io/github/actions/workflow/status/mys1024/cr-asst-action/ci.yml?label=ci)](https://github.com/mys1024/cr-asst-action/actions/workflows/ci.yml)\n[![workflow-release](https://img.shields.io/github/actions/workflow/status/mys1024/cr-asst-action/release.yml?label=release)](https://github.com/mys1024/cr-asst-action/actions/workflows/release.yml)\n\nEnglish | [中文](./README.zh.md)\n\nAn action powered by **[cr-asst](https://github.com/mys1024/cr-asst)** that reviews your pull requests with AI assistants.\n\n## Usage\n\n1. Create a workflow file `.github/workflows/review-pr.yml` with the following content:\n\n   ```yml\n   name: Review PR\n\n   on:\n     pull_request:\n       types:\n         - opened\n         - synchronize\n       branches:\n         - main\n\n   jobs:\n     review:\n       runs-on: ubuntu-latest\n\n       steps:\n         - name: Checkout repository\n           uses: actions/checkout@v4\n           with:\n             fetch-depth: 0\n\n         - name: Review\n           uses: mys1024/cr-asst-action@v2\n           with:\n             github-token: ${{ secrets.GITHUB_TOKEN }} # required\n             model: gpt-4 # required\n             api-key: ${{ secrets.CR_API_KEY }} # required\n             provider: openai # optional, defaults to \"openai\", options: \"openai\", \"deepseek\", \"xai\", \"anthropic\", \"google\"\n             base-url: https://api.example.com/v1 # optional\n             exclude: 'foo,bar/dir' # optional, defaults to \"package-lock.json,pnpm-lock.yaml,yarn.lock\"\n             prompt-file: 'my-prompt.md' # optional, defaults to the builtin prompt \"en\"\n             output-file: 'review-result.md' # optional\n   ```\n\n   Note: see [action.yml](./action.yml) for more details about inputs.\n\n2. Set the secret `CR_API_KEY` in your repository settings.\n\n3. Set the setting `Workflow permissions` to `Read and write permissions` in your repository settings.\n\n## Example\n\nClick [here](https://github.com/mys1024/cr-asst-action/pull/3#issuecomment-2745088468) to see the example.\n\n## License\n\n[MIT](./LICENSE) License \u0026copy; 2025-PRESENT mys1024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmys1024%2Fcr-asst-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmys1024%2Fcr-asst-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmys1024%2Fcr-asst-action/lists"}