{"id":19359739,"url":"https://github.com/codacy/codacy-cli-v2-action","last_synced_at":"2026-01-28T04:37:42.137Z","repository":{"id":259464758,"uuid":"866001618","full_name":"codacy/codacy-cli-v2-action","owner":"codacy","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-22T10:29:37.000Z","size":108,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-23T01:14:38.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/codacy.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}},"created_at":"2024-10-01T13:34:23.000Z","updated_at":"2025-11-26T15:43:47.000Z","dependencies_parsed_at":"2024-10-25T18:21:53.383Z","dependency_job_id":"28ca1423-b5d4-482f-95b4-3bdf2579db5a","html_url":"https://github.com/codacy/codacy-cli-v2-action","commit_stats":null,"previous_names":["codacy/codacy-cli-v2-action"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/codacy/codacy-cli-v2-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-cli-v2-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-cli-v2-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-cli-v2-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-cli-v2-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/codacy-cli-v2-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fcodacy-cli-v2-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28838502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-10T07:15:59.308Z","updated_at":"2026-01-28T04:37:42.123Z","avatar_url":"https://github.com/codacy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codacy CLI V2 GitHub Action\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3225e1abbad540ea8f98efc972d1f8b5)](https://app.codacy.com/gh/codacy/codacy-cli-v2-action/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\nGitHub Action for running Codacy static analysis on [over 40 supported languages](https://docs.codacy.com/getting-started/supported-languages-and-tools/) and returning identified issues in the code.\n\n\u003cbr/\u003e\n\n\u003ca href=\"https://www.codacy.com\" target=\"_blank\"\u003e\u003cimg src=\"images/codacy-logo.svg\" alt=\"Codacy\" width=\"400\"/\u003e\u003c/a\u003e\n\n\u003cbr/\u003e\n\n[Codacy](https://www.codacy.com/) is an automated code review tool that makes it easy to ensure your team is writing high-quality code by analyzing more than 40 programming languages such as PHP, JavaScript, Python, Java, and Ruby. Codacy allows you to define your own quality rules, code patterns and quality settings you'd like to enforce to prevent issues on your codebase.\n\n## About the CLI V2\n\nThe `codacy-cli-v2` is a command-line tool for Codacy that supports analyzing code using ESLint and uploading the results in SARIF format to Codacy. It provides two main commands: `analyze` and `upload`.\n\nDetails can be found [here](https://github.com/codacy/codacy-cli-v2).\n\n\u003e [!WARNING] \n\u003e Currently only the `eslint` tool is supported.\n\n## Requirements\n\n- A Repository on GitHub and Codacy\n- A project token\n- A valid [codacy-cli-v2 configuration file](https://github.com/codacy/codacy-cli-v2?tab=readme-ov-file#important-concepts) (usually achieved by running `codacy-cli-v2 init` in the root of your repository)\n- If you want to upload the report to Codacy, you need to set the `upload_report` input to `true` and enable the flag \"Run analysis on your build server\" on the repository settings on Codacy.\n\n    \u003cimg src=\"images/run-analysis-through-build-server.png\" alt=\"Codacy\" width=\"400\"/\u003e\n\n\n## Usage\n\n```yaml\nsteps:\n# ...\n    - name: Run Codacy CLI\n        uses: codacy/codacy-cli-v2-action@main\n        with:\n          project_token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          tool: eslint\n          upload_report: true\n# ...\n```\n\n## Inputs\n\n| Input | Required | Default | Description |\n| ----- | -------- | ------- | ----------- |\n| `project_token` | Yes | - | The project token for your Codacy project. |\n| `tool` | Yes | - | The tool to use for analysis. |\n| `upload_report` | No | false | Whether to upload the report to Codacy. |\n| `sarif_file_path` | No | \"./report.sarif\" | The path to the SARIF file to upload. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-cli-v2-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fcodacy-cli-v2-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fcodacy-cli-v2-action/lists"}