https://github.com/findologic/intellij-format-action
GitHub action for running the IntelliJ IDEA CE formatter.
https://github.com/findologic/intellij-format-action
Last synced: 2 months ago
JSON representation
GitHub action for running the IntelliJ IDEA CE formatter.
- Host: GitHub
- URL: https://github.com/findologic/intellij-format-action
- Owner: findologic
- License: mit
- Created: 2021-06-15T09:12:22.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T18:47:54.000Z (almost 3 years ago)
- Last Synced: 2025-08-19T11:25:21.644Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```yaml
uses: findologic/intellij-format-action@v1.1.0
with:
include-glob: '*.kt,*.java'
path: .
```