This GitHub Action runs a set of IntelliJ IDEA Inspections against a PR, and comments on all violations.
The GitHub token used to authenticate with GitHub.
Required
Path to inspections file relative to root of project directory.
Required
A list of regular expressions for files whose inspection results are to be ignored.
Optional
- name: Run IntelliJ Inspections
uses: gps/intellij-inspections@master
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INSPECTIONS_FILE: Inspections.xml
IGNORE_FILE_PATTERNS: |
[
".*src/generated.*",
".*basedb/src.*"
]