Skip to content

Commit 9b8d058

Browse files
committed
refactor: rename fix-commit-msg to auto-fix-commit-msg for consistency
1 parent dd01d24 commit 9b8d058

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``.
@@ -503,10 +503,10 @@ runs:
503503
^git config user.name 'github-actions[bot]'
504504
^git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
505505
^git add -A
506-
let commit_msg = if ('${{ inputs.fix-commit-msg }}' | is-empty) {
506+
let commit_msg = if ('${{ inputs.auto-fix-commit-msg }}' | is-empty) {
507507
'style: apply styling format fix'
508508
} else {
509-
'${{ inputs.fix-commit-msg }}'
509+
'${{ inputs.auto-fix-commit-msg }}'
510510
}
511511
^git commit -m $"($commit_msg)"
512512
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)