mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-14 20:30:30 +02:00
Added only_changed feature
This commit is contained in:
@@ -12,7 +12,7 @@ inputs:
|
||||
description: Commit options
|
||||
required: false
|
||||
file_pattern:
|
||||
description: File pattern used for `git add`
|
||||
description: File pattern used for `git add`, can't be used with only_changed!
|
||||
required: false
|
||||
default: '*'
|
||||
prettier_options:
|
||||
@@ -27,6 +27,10 @@ inputs:
|
||||
description: Specific version of prettier (by default just use the latest version)
|
||||
required: false
|
||||
default: false
|
||||
only_changed:
|
||||
description: Only prettify files changed in the last commit, can't be used with file_pattern!
|
||||
required: false
|
||||
default: false
|
||||
|
||||
runs:
|
||||
using: 'docker'
|
||||
|
||||
Reference in New Issue
Block a user