-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
30 lines (30 loc) · 917 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
name: IntelliJ Formatter
description: |
Runs the IntelliJ formatter on a project to apply IDE style rules. Useful for auto-fixing,
as well as enforcing style rules.
inputs:
include-glob:
description: |
Pattern for files to include. Supports glob-style wildcards. Multiple patterns can be separated by commas.
required: false
default: '*'
path:
description: |
Path to project directory. The formatter is executed recursively from here. Must be relative to the workspace.
required: false
default: '.'
fail-on-changes:
description: If true, the action fails if any file changed.
required: false
default: 'false'
outputs:
files-changed:
description: Zero if none changed, greater if at least one file changed.
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.path }}
- ${{ inputs.include-glob }}
- ${{ inputs.fail-on-changes }}