Skip to content

Commit 350675e

Browse files
authored
chore: update auto-fix-commit-msg default value
I would like to change the default clang-format commit message and leave "refactor: apply clang-tidy fixes" for clang-tidy in the futhure if we also support auto-fix for it Co-authored-by: Xianpeng Shen <xianpeng.shen@gmail.com>
1 parent f644f7e commit 350675e

2 files changed

Lines changed: 3 additions & 3 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-
> auto-fix-commit-msg: 'style: apply styling format fix [skip ci]'
98+
> auto-fix-commit-msg: 'style: apply clang-format fixes [skip ci]'
9999
> ```
100100

101101
## Used By

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ inputs:
225225
description: |
226226
Custom commit message for the auto-fix commit.
227227
Only used when ``auto-fix`` is ``true``.
228-
default: 'style: apply styling format fix'
228+
default: 'style: apply clang-format fixes'
229229
required: false
230230
auto-fix-git-user:
231231
description: |-
@@ -585,7 +585,7 @@ runs:
585585
# Avoid `git add -A`, which would also sweep in unrelated untracked files.
586586
^git add -u
587587
let commit_msg = if ('${{ inputs.auto-fix-commit-msg }}' | is-empty) {
588-
'style: apply styling format fix'
588+
'style: apply clang-format fixes'
589589
} else {
590590
'${{ inputs.auto-fix-commit-msg }}'
591591
}

0 commit comments

Comments
 (0)