{"id":15525116,"url":"https://github.com/staabm/annotate-pull-request-from-checkstyle-action","last_synced_at":"2025-06-25T22:06:28.187Z","repository":{"id":190097324,"uuid":"681065016","full_name":"staabm/annotate-pull-request-from-checkstyle-action","owner":"staabm","description":"cs2pr GitHub Action ","archived":false,"fork":false,"pushed_at":"2023-08-30T10:41:56.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-08T15:28:36.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/staabm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-21T07:26:29.000Z","updated_at":"2025-01-22T11:26:48.000Z","dependencies_parsed_at":"2024-10-02T10:54:51.481Z","dependency_job_id":"7b3c8c42-a969-448d-9d86-2fe2ca29f05a","html_url":"https://github.com/staabm/annotate-pull-request-from-checkstyle-action","commit_stats":null,"previous_names":["staabm/annotate-pull-request-from-checkstyle-action"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/staabm/annotate-pull-request-from-checkstyle-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fannotate-pull-request-from-checkstyle-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fannotate-pull-request-from-checkstyle-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fannotate-pull-request-from-checkstyle-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fannotate-pull-request-from-checkstyle-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staabm","download_url":"https://codeload.github.com/staabm/annotate-pull-request-from-checkstyle-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fannotate-pull-request-from-checkstyle-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960506,"owners_count":23236574,"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":[],"created_at":"2024-10-02T10:54:49.884Z","updated_at":"2025-06-25T22:06:28.155Z","avatar_url":"https://github.com/staabm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# annotate-pull-request-from-checkstyle-action\n\nannotate-pull-request-from-checkstyle-action is a GitHub Action that uses [cs2pr](https://github.com/staabm/annotate-pull-request-from-checkstyle) to converts checkstyle XML files to GitHub PR annotations.\n\n![Context Example](https://github.com/mheap/phpunit-github-actions-printer/blob/master/phpunit-printer-context.png?raw=true)\n_Images from https://github.com/mheap/phpunit-github-actions-printer_\n\n## Usage\n\n```yml\nname: CS2PR\non:\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: staabm/annotate-pull-request-from-checkstyle-action@v1\n        with:\n          files: checkstyle.xml\n          notices-as-warnings: true # optional\n```\n\n### Action Inputs\n\n- **files** _(Required)_ - The checkstyle XML files to convert to GitHub PR annotations separated by semicolons\n- **graceful-warnings** _(Optional)_ - Don't exit with error codes if there are only warnings\n  - Expected value: \"true\"\n- **colorize** _(Optional)_ - Colorize the output (still compatible with Github Annotations)\n  - Expected value: \"true\"\n- **notices-as-warnings** _(Optional)_ - Convert notices to warnings (Github does not annotate notices otherwise)\n  - Expected value: \"true\"\n- **errors-as-warnings:** _(Optional)_ - Downgrade errors to warnings\n  - Expected value: \"true\"\n- **prepend-filename** _(Optional)_ - Prepend error 'filename' attribute to the message\n  - Expected value: \"true\"\n- **prepend-source** _(Optional)_ - Prepend error 'source' attribute to the message\n  - Expected value: \"true\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fannotate-pull-request-from-checkstyle-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaabm%2Fannotate-pull-request-from-checkstyle-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fannotate-pull-request-from-checkstyle-action/lists"}