{"id":15698038,"url":"https://github.com/huacnlee/autocorrect-action","last_synced_at":"2025-05-07T13:04:54.583Z","repository":{"id":65160107,"uuid":"387520156","full_name":"huacnlee/autocorrect-action","owner":"huacnlee","description":"GitHub action for use AutoCorrect as lint","archived":false,"fork":false,"pushed_at":"2025-04-09T08:53:24.000Z","size":35,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T13:04:44.820Z","etag":null,"topics":["auto-correct","autocorrect","github-actions","linter"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/huacnlee.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":"2021-07-19T15:59:13.000Z","updated_at":"2025-04-23T03:04:22.000Z","dependencies_parsed_at":"2024-05-23T03:46:15.577Z","dependency_job_id":null,"html_url":"https://github.com/huacnlee/autocorrect-action","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":"0.021739130434782594","last_synced_commit":"86b0c1ab249212856065884a80f1ce1b9ec9039a"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huacnlee%2Fautocorrect-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huacnlee","download_url":"https://codeload.github.com/huacnlee/autocorrect-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883225,"owners_count":21819159,"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","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":["auto-correct","autocorrect","github-actions","linter"],"created_at":"2024-10-03T19:22:54.233Z","updated_at":"2025-05-07T13:04:54.560Z","avatar_url":"https://github.com/huacnlee.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autocorrect-action\n\nGitHub Action to use [AutoCorrect](https://github.com/huacnlee/autocorrect) for lint.\n\nhttps://github.com/huacnlee/autocorrect\n\n\u003cimg width=\"920\" alt=\"autocorrect lint output\" src=\"https://user-images.githubusercontent.com/5518/191889781-6372ecef-426a-4c67-a1f3-790f8117808e.png\"\u003e\n\n## Usage\n\n```yml\nsteps:\n  - uses: actions/checkout@v4\n  - name: AutoCorrect\n    uses: huacnlee/autocorrect-action@v2\n```\n\n## Use NPM version AutoCorrect\n\n```yml\nsteps:\n  - uses: actions/checkout@v4\n  - name: AutoCorrect\n    uses: huacnlee/autocorrect-action@v2\n    with:\n      use_npm: true\n```\n\n## Enable ReviewDog for Report\n\n```yml\nsteps:\n  - uses: actions/checkout@v4\n  - name: AutoCorrect\n    uses: huacnlee/autocorrect-action@v2\n  - name: Report ReviewDog\n    if: failure()\n    uses: huacnlee/autocorrect-action@v2\n    env:\n      REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    with:\n      reviewdog: true\n```\n\n\u003cimg width=\"819\" alt=\"image\" src=\"https://github.com/huacnlee/autocorrect-action/assets/5518/050d6f62-d461-44fc-a22f-2fb581ba0912\"\u003e\n\n\n### Only check changed file by PR\n\n```yml\nsteps:\n  - uses: actions/checkout@v4\n  - name: AutoCorrect\n    uses: huacnlee/autocorrect-action@v2\n    with:\n      args: --lint --no-diff-bg-color $(git diff --diff-filter=AM --name-only ${{ github.event.pull_request.base.sha }}}\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuacnlee%2Fautocorrect-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuacnlee%2Fautocorrect-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuacnlee%2Fautocorrect-action/lists"}