Skip to content

Commit 6d67b7e

Browse files
committed
refactor: rename fix-commit-msg to auto-fix-commit-msg for consistency
1 parent 2aa582e commit 6d67b7e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ When enabled, the action will:
9595
> ```yaml
9696
> with:
9797
> auto-fix: 'true'
98-
> fix-commit-msg: 'style: apply styling format fix [skip ci]'
98+
> auto-fix-commit-msg: 'style: apply styling format fix [skip ci]'
9999
> ```
100100

101101
## Used By

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ inputs:
221221
This option has no effect on clang-tidy issues.
222222
default: 'false'
223223
required: false
224-
fix-commit-msg:
224+
auto-fix-commit-msg:
225225
description: |
226226
Custom commit message for the auto-fix commit.
227227
Only used when ``auto-fix`` is ``true``.
@@ -513,10 +513,10 @@ runs:
513513
^git config user.name 'github-actions[bot]'
514514
^git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
515515
^git add -A
516-
let commit_msg = if ('${{ inputs.fix-commit-msg }}' | is-empty) {
516+
let commit_msg = if ('${{ inputs.auto-fix-commit-msg }}' | is-empty) {
517517
'style: apply styling format fix'
518518
} else {
519-
'${{ inputs.fix-commit-msg }}'
519+
'${{ inputs.auto-fix-commit-msg }}'
520520
}
521521
^git commit -m $"($commit_msg)"
522522
let push_result = (^git push) | complete

docs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ inputs:
5050
auto-fix:
5151
minimum-version: '2.19.0'
5252
required-permission: 'contents: write #auto-fix'
53-
fix-commit-msg:
53+
auto-fix-commit-msg:
5454
minimum-version: '2.19.0'
5555
jobs:
5656
minimum-version: '2.11.0'

0 commit comments

Comments
 (0)