File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 24
24
testMode: true
25
25
configPath: "vendor/my-company/coding-style/pint.json"
26
26
pintVersion: 1.2.1
27
+ onlyDirty: true
27
28
28
29
```
29
30
ℹ️ Starting from version 2 you can specify the Pint version to be used by specifyling a ` pintVersion ` in your configuration file.
Original file line number Diff line number Diff line change @@ -17,9 +17,13 @@ inputs:
17
17
preset :
18
18
description : " pint preset"
19
19
required : false
20
+
21
+ onlyDirty :
22
+ description : " only format changed files"
23
+ required : false
20
24
21
25
pintVersion :
22
- description : " larave /pint composer version to install a specific version."
26
+ description : " laravel /pint composer version to install a specific version."
23
27
required : false
24
28
runs :
25
29
using : ' docker'
29
33
- ${{ inputs.verbose-mode }}
30
34
- ${{ inputs.config-path }}
31
35
- ${{ inputs.preset }}
36
+ - ${{ inputs.only-dirty }}
32
37
- ${{ inputs.pint-version }}
33
38
branding :
34
39
icon : ' eye'
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ if [[ "${INPUT_PRESET}" ]]; then
28
28
pint_command+=" --preset ${INPUT_PRESET} "
29
29
fi
30
30
31
+ if [[ " ${INPUT_ONLYDIRTY} " ]]; then
32
+ pint_command+=" --dirty"
33
+ fi
34
+
31
35
echo " Running Command: " " ${pint_install_command[@]} "
32
36
33
37
${pint_install_command[@]}
You can’t perform that action at this time.
0 commit comments