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
- name: Run IntelliJ Inspections
uses: gps/intellij-inspections@master
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INSPECTIONS_FILE: Inspections.xml