mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-14 20:30:30 +02:00
added commit-description as option to action.yml
This commit is contained in:
@@ -8,6 +8,10 @@ inputs:
|
|||||||
description: Commit message, will be ignored if used with same_commit
|
description: Commit message, will be ignored if used with same_commit
|
||||||
required: false
|
required: false
|
||||||
default: "Prettified Code!"
|
default: "Prettified Code!"
|
||||||
|
commit_description:
|
||||||
|
description: Extended commit message, will be ignored if used with same_commit
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
same_commit:
|
same_commit:
|
||||||
description: Update the current commit instead of creating a new one
|
description: Update the current commit instead of creating a new one
|
||||||
required: false
|
required: false
|
||||||
@@ -58,6 +62,7 @@ runs:
|
|||||||
${{ github.action_path }}/entrypoint.sh
|
${{ github.action_path }}/entrypoint.sh
|
||||||
env:
|
env:
|
||||||
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
|
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
|
||||||
|
INPUT_COMMIT_DESCRIPTION: ${{ inputs.commit_description }}
|
||||||
INPUT_SAME_COMMIT: ${{ inputs.same_commit }}
|
INPUT_SAME_COMMIT: ${{ inputs.same_commit }}
|
||||||
INPUT_COMMIT_OPTIONS: ${{ inputs.commit_options }}
|
INPUT_COMMIT_OPTIONS: ${{ inputs.commit_options }}
|
||||||
INPUT_FILE_PATTERN: ${{ inputs.file_pattern }}
|
INPUT_FILE_PATTERN: ${{ inputs.file_pattern }}
|
||||||
|
|||||||
Reference in New Issue
Block a user