Skip to content

GitHub action for running the IntelliJ IDEA CE formatter.

License

Notifications You must be signed in to change notification settings

findologic/intellij-format-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ IDEA formatter action

Runs the formatter on code to auto-fix style, or enforce it.

Inputs

include-glob

Pattern for files to include in the formatting, e.g. *.java,*.kt. Default: *.

path

Root path from which files to format are searched recursively. Must be relative to the workspace. Default: ..

fail-on-changes

Causes the action to fail upon detecting files changed by running the formatter if set to true. Default: false.

Outputs

files-changed

Zero if none changed, greater if at least one file changed.

Example usage

uses: findologic/[email protected]
with:
  include-glob: '*.kt,*.java'
  path: .