actions-marketplace-validations/VCS Diff Lint
Differential code linting action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| subdirectory | Sub-directory to step in before the linting is performed. The sub-directory must contain the `.vcs-diff-lint.yml` file, or RPM spec file. | no | — |
| subdirectories | Equivalent to `subdirectory` option, but multiplied. Space separated list of sub-directories to analyze. The linter is executed multiple times, for each sub-diretory separately. | no | — |
| linter_tags | Space-separated list of linter tags (selectors) for the `vcs-diff-lint` utility (see the `--linter-tags` option). By default all linters are selected. Avaliable linter tags are `mypy`, `pylint`, `ruff`, and `python`. | no | pylint |
| install_rpm_packages | Space-separated list of RPM packages that are automatically installed into the testing environment (= Docker container). | no | — |
| debug | Turn on debugging info. | no | false |
| debug_all_data | The whole GitHub Context expanded | no | ${{ toJSON(github) }} |
| pull_request_number_id | The pull request ID (internal) | no | ${{ github.event.pull_request.number }} |
| pull_request_head | The pull request SHA1 without the merge commit (internal) | no | ${{ github.event.pull_request.head.sha }} |
| pull_request_commits | Number of commits in this PR | no | ${{ github.event.pull_request.commits }} |
Outputs
| name | description |
|---|---|
| sarif | The SARIF file containing defects |