rodionkorneev/PMD Reviewdog Reporter
Run PMD static analysis and report issues in PRs via reviewdog comments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token used by PMD to determine modified files and by reviewdog to post comments. Defaults to `github.token`. | no | ${{ github.token }} |
| pmd_version | PMD version to use. Using "latest" automatically downloads the latest release. Available versions: https://github.com/pmd/pmd/releases. See `version` in https://github.com/pmd/pmd-github-action. | no | latest |
| pmd_download_url | Optionally specify a custom URL for downloading the PMD binary. See `downloadUrl` in https://github.com/pmd/pmd-github-action. | no | — |
| workdir | Directory to run PMD in. See `sourcePath` in https://github.com/pmd/pmd-github-action. | no | . |
| rulesets | Comma-separated list of PMD rulesets to use. You can use default rulesets provided by PMD, or create your own custom ruleset and reference it. See `rulesets` in https://github.com/pmd/pmd-github-action. | yes | — |
| analyze_modified_only | Only analyze files modified in a PR or push instead of all files in `workdir`. See `analyzeModifiedFilesOnly` in https://github.com/pmd/pmd-github-action. | no | false |
| upload_sarif_report | Upload generated SARIF report as artifact named "PMD Report". See `uploadSarifReport` in https://github.com/pmd/pmd-github-action. | no | true |
| reviewdog_version | Reviewdog version. See `reviewdog_version` in https://github.com/reviewdog/action-setup. | no | latest |
| tool_name | Tool name for reviewdog reporter. | no | PMD |
| reporter | Reviewdog reporter type. See available options at: https://github.com/reviewdog/reviewdog#reporters | no | github-pr-review |
| level | Reviewdog report level (`info`, `warning`, `error`). | no | error |
| fail_level | Reviewdog fail level. Determines at which level the step fails. See https://github.com/reviewdog/reviewdog?tab=readme-ov-file#exit-codes. | no | any |
| filter_mode | Reviewdog filtering mode. See https://github.com/reviewdog/reviewdog?tab=readme-ov-file#filter-mode. | no | nofilter |
| reviewdog_flags | Additional flags to pass to reviewdog command. | no | "" |
Outputs
no outputs