Skip to content

This GitHub Action runs a set of IntelliJ IDEA Inspections against a PR, and comments on all violations.

Notifications You must be signed in to change notification settings

gps/intellij-inspections

Repository files navigation

Run IntelliJ IDEA Inspections

This GitHub Action runs a set of IntelliJ IDEA Inspections against a PR, and comments on all violations.

Inputs

gh_token

The GitHub token used to authenticate with GitHub.

Required

inspections_file

Path to inspections file relative to root of project directory.

Required

ignore_file_patterns

A list of regular expressions for files whose inspection results are to be ignored.

Optional

Example Usage

- 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.*"
    ]

About

This GitHub Action runs a set of IntelliJ IDEA Inspections against a PR, and comments on all violations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •