mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 12:50:31 +02:00
feat: allow passing options to git-add (#150)
* feat: allow passing options to git-add * doc: small cleanup * chore: typo, detailed error message on git-add --------- Co-authored-by: Conrad <grosserconrad@gmail.com>
This commit is contained in:
@@ -16,6 +16,9 @@ inputs:
|
||||
description: Update the current commit instead of creating a new one
|
||||
required: false
|
||||
default: false
|
||||
add_options:
|
||||
description: Git add options
|
||||
required: false
|
||||
commit_options:
|
||||
description: Commit options
|
||||
required: false
|
||||
@@ -87,6 +90,7 @@ runs:
|
||||
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
|
||||
INPUT_COMMIT_DESCRIPTION: ${{ inputs.commit_description }}
|
||||
INPUT_SAME_COMMIT: ${{ inputs.same_commit }}
|
||||
INPUT_ADD_OPTIONS: ${{ inputs.add_options }}
|
||||
INPUT_COMMIT_OPTIONS: ${{ inputs.commit_options }}
|
||||
INPUT_PUSH_OPTIONS: ${{ inputs.push_options }}
|
||||
INPUT_FILE_PATTERN: ${{ inputs.file_pattern }}
|
||||
|
||||
Reference in New Issue
Block a user