{"id":39177735,"url":"https://github.com/nikitasavinov/checkstyle-action","last_synced_at":"2026-01-17T22:30:02.491Z","repository":{"id":38365264,"uuid":"255681401","full_name":"nikitasavinov/checkstyle-action","owner":"nikitasavinov","description":"Run Java checkstyle with reviewdog in github actions","archived":false,"fork":false,"pushed_at":"2025-11-05T17:19:06.000Z","size":41,"stargazers_count":62,"open_issues_count":9,"forks_count":39,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-11T12:38:16.874Z","etag":null,"topics":["checkstyle","code-quality","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/nikitasavinov.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}},"created_at":"2020-04-14T17:43:26.000Z","updated_at":"2026-01-07T09:01:57.000Z","dependencies_parsed_at":"2023-02-15T22:45:50.217Z","dependency_job_id":null,"html_url":"https://github.com/nikitasavinov/checkstyle-action","commit_stats":{"total_commits":41,"total_committers":11,"mean_commits":3.727272727272727,"dds":"0.29268292682926833","last_synced_commit":"79490c0fdcc3ab5dd2b50a0e82a5bfc4fe63f0a9"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/nikitasavinov/checkstyle-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitasavinov%2Fcheckstyle-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitasavinov%2Fcheckstyle-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitasavinov%2Fcheckstyle-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitasavinov%2Fcheckstyle-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikitasavinov","download_url":"https://codeload.github.com/nikitasavinov/checkstyle-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitasavinov%2Fcheckstyle-action/sbom","scorecard":{"id":687321,"data":{"date":"2025-08-18","repo":{"name":"github.com/nikitasavinov/checkstyle-action","commit":"79490c0fdcc3ab5dd2b50a0e82a5bfc4fe63f0a9"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":4,"reason":"Found 12/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dockerimage.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dockerimage.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nikitasavinov/checkstyle-action/dockerimage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/nikitasavinov/checkstyle-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/nikitasavinov/checkstyle-action/main.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating openjdk:17-alpine to openjdk:17-alpine@sha256:4b6abae565492dbe9e7a894137c966a7485154238902f2f25e9dbd9784383d81","Warn: downloadThenRun not pinned by hash: Dockerfile:5","Warn: downloadThenRun not pinned by hash: entrypoint.sh:17","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T01:15:44.895Z","repository_id":38365264,"created_at":"2025-08-22T01:15:44.895Z","updated_at":"2025-08-22T01:15:44.895Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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":["checkstyle","code-quality","github-actions"],"created_at":"2026-01-17T22:30:02.399Z","updated_at":"2026-01-17T22:30:02.481Z","avatar_url":"https://github.com/nikitasavinov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Checkstyle GitHub Action\n\nRuns [checkstyle](https://github.com/checkstyle/checkstyle) with [reviewdog](https://github.com/reviewdog/reviewdog) on pull requests.\n\nExample:\n\n[![github-pr-check sample](https://user-images.githubusercontent.com/6826684/107879090-1a1c0500-6ed7-11eb-9260-14acdc94ad36.png)](https://github.com/nikitasavinov/checkstyle-action/pull/2/files)\n\n\n## Input\n\n### `checkstyle_config`\n\nRequired. [Checkstyle config](https://checkstyle.sourceforge.io/config.html)\nDefault is `google_checks.xml` (`sun_checks.xml` is also built in and available).\n\n### `level`\n\nOptional. Report level for reviewdog [info,warning,error].\nIt's same as `-level` flag of reviewdog.\n\n### `reporter`\n\nOptional. Reporter of reviewdog command [github-pr-check,github-pr-review].\nIt's same as `-reporter` flag of reviewdog.\n\n### `filter_mode`\n\nOptional. Filtering mode for the reviewdog command [added,diff_context,file,nofilter].\nDefault is `added`.\n\n### `fail_on_error`\n\nOptional.  Exit code for reviewdog when errors are found [true,false].\nDefault is `false`.\n\n**Important**: this feature only works when `level` is set to `error`.\n\n### `tool_name`\n    \nOptional. Tool name to use for reviewdog reporter.\nDefault is 'reviewdog'.\n\n### `workdir`\nOptional. Working directory relative to the root directory.\n\n### `checkstyle_version`\nOptional. Checkstyle version to use.\nDefault is `10.3`\n\n### `properties_file`\nOptional. Properties file relative to the root directory.\n\n## Example usage\n\n``` yml\non: pull_request\n\njobs:\n  checkstyle_job:\n    runs-on: ubuntu-latest\n    name: Checkstyle job\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Run check style\n      uses: nikitasavinov/checkstyle-action@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        reporter: 'github-pr-check'\n        tool_name: 'testtool'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitasavinov%2Fcheckstyle-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikitasavinov%2Fcheckstyle-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitasavinov%2Fcheckstyle-action/lists"}