{"id":17675592,"url":"https://github.com/ernanej/code-guardian-ci","last_synced_at":"2025-08-18T03:39:22.155Z","repository":{"id":213991979,"uuid":"733279227","full_name":"ErnaneJ/code-guardian-ci","owner":"ErnaneJ","description":"[WIP] Code review action based on prompts in ChatGPT.","archived":false,"fork":false,"pushed_at":"2024-04-30T02:42:38.000Z","size":1086,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T17:14:37.122Z","etag":null,"topics":["chatgpt","code-review"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ErnaneJ.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}},"created_at":"2023-12-19T01:09:53.000Z","updated_at":"2023-12-24T23:02:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2cd9412-b1b6-4cad-8801-f54eaa8183e5","html_url":"https://github.com/ErnaneJ/code-guardian-ci","commit_stats":null,"previous_names":["ernanej/code-guardian-ci"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ErnaneJ/code-guardian-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fcode-guardian-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fcode-guardian-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fcode-guardian-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fcode-guardian-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErnaneJ","download_url":"https://codeload.github.com/ErnaneJ/code-guardian-ci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErnaneJ%2Fcode-guardian-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940602,"owners_count":24671677,"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-08-18T02:00:08.743Z","response_time":89,"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":["chatgpt","code-review"],"created_at":"2024-10-24T07:22:50.034Z","updated_at":"2025-08-18T03:39:22.130Z","avatar_url":"https://github.com/ErnaneJ.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Guardian CI GitHub Action\n\n🤖 **AI-powered Automated Code Reviewer**\n\n![Code Guardian CI](./assets/preview-code-guardian-ci.jpeg)\n\nSee this review comment [here](https://github.com/ErnaneJ/code-guardian-ci/pull/4#pullrequestreview-1795629618).\n\n## Description\n\nCode Guardian CI is an automated code review GitHub Action that leverages the power of ChatGPT to provide insightful feedback on your pull requests. This action uses prompts in ChatGPT to analyze your code changes and offers suggestions to improve code quality.\n\n## Usage\n\nTo integrate Code Guardian CI into your workflow, add the following YAML configuration to your GitHub Actions workflow file (e.g., `.github/workflows/code-guardian-ci.yml`):\n\n```yaml\nname: Code Guardian CI\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n\njobs:\n  code-guardian-ci:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Run Code Guardian CI\n        uses: ErnaneJ/code-guardian-ci-action@v1\n        with:\n          owner: ${{ github.repository_owner }}\n          repo: ${{ github.event.repository.name }}\n          pr_number: ${{ github.event.number }}\n          token_g: ${{ secrets.GITHUB_TOKEN }}\n          token_oia: ${{ secrets.OPENIA_API_TOKEN }}\n```\n\n## Inputs\n\n- **owner** (required): The owner of the repository.\n- **repo** (required): The name of the repository.\n- **pr_number** (required): The number of the pull request.\n- **token_g** (required): The token to use to access the GitHub API.\n- **token_oia** (required): The token to use to access the OpenIA API.\n\n## Example\n\n```yaml\nuses: your-username/code-guardian-ci-action@v1\nwith:\n  owner: 'your-username'\n  repo: 'your-repository'\n  pr_number: 123\n  token_g: ${{ secrets.GITHUB_TOKEN }}\n  token_oia: ${{ secrets.OPENIA_API_TOKEN }}\n```\n\n## License\n\nThis GitHub Action is licensed under the [MIT License](LICENSE). 📜","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fcode-guardian-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernanej%2Fcode-guardian-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernanej%2Fcode-guardian-ci/lists"}