{"id":13567136,"url":"https://github.com/yutailang0119/action-ktlint","last_synced_at":"2025-04-11T09:20:32.282Z","repository":{"id":37036833,"uuid":"255641557","full_name":"yutailang0119/action-ktlint","owner":"yutailang0119","description":"GitHub Action for ktlint","archived":false,"fork":false,"pushed_at":"2025-02-18T11:58:26.000Z","size":2472,"stargazers_count":24,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T03:02:51.628Z","etag":null,"topics":["github-actions","ktlint","typescript"],"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/yutailang0119.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-14T15:03:47.000Z","updated_at":"2025-02-23T10:13:32.000Z","dependencies_parsed_at":"2023-01-11T17:21:08.952Z","dependency_job_id":"8ff40cb5-7e75-4071-9b2d-725c9e073873","html_url":"https://github.com/yutailang0119/action-ktlint","commit_stats":{"total_commits":498,"total_committers":4,"mean_commits":124.5,"dds":"0.39357429718875503","last_synced_commit":"83fb1cd164c1c928ba432254012ca3efa20fd222"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutailang0119%2Faction-ktlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutailang0119%2Faction-ktlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutailang0119%2Faction-ktlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutailang0119%2Faction-ktlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yutailang0119","download_url":"https://codeload.github.com/yutailang0119/action-ktlint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248367085,"owners_count":21092099,"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":["github-actions","ktlint","typescript"],"created_at":"2024-08-01T13:02:24.557Z","updated_at":"2025-04-11T09:20:32.261Z","avatar_url":"https://github.com/yutailang0119.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/yutailang0119/action-ktlint/actions\"\u003e\u003cimg alt=\"action-ktlint status\" src=\"https://github.com/yutailang0119/action-ktlint/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\n# GitHub Action for ktlint\n\nThis Action generates annotations from [ktlint](https://ktlint.github.io) Report XML.\n\n## Usage\n\nAn example workflow(.github/workflows/ktlint.yml) to executing ktlint follows:\n\n```yml\nname: ktlint\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/ktlint.yml\n      - 'src/**/*.kt'\n      - '**.kts'\n\njobs:\n  ktlint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.2.1/ktlint \u0026\u0026 chmod a+x ktlint \u0026\u0026 sudo mv ktlint /usr/local/bin/\n      - name: run ktlint\n        run: |\n          ktlint --reporter=checkstyle,output=build/ktlint-report.xml\n        continue-on-error: true\n      - uses: yutailang0119/action-ktlint@v4\n        with:\n          report-path: build/*.xml # Support glob patterns by https://www.npmjs.com/package/@actions/glob\n          ignore-warnings: true # Ignore Lint Warnings\n        continue-on-error: false # If annotations contain error of severity, action-ktlint exit 1.\n```\n\n## Author\n\n[Yutaro Muta](https://github.com/yutailang0119)\n\n## References\n\n- Generated from [actions/typescript-action](https://github.com/actions/typescript-action) as template.\n\n## License\n\naction-ktlint is available under the MIT license. See [the LICENSE file](./LICENSE) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutailang0119%2Faction-ktlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyutailang0119%2Faction-ktlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutailang0119%2Faction-ktlint/lists"}