|
@@ -21,7 +21,7 @@ jobs:
|
|
|
- name: Get last commit on ${{ github.base_ref }} branch
|
|
- name: Get last commit on ${{ github.base_ref }} branch
|
|
|
run: echo "BASE_HEAD_REF=$(git rev-parse origin/${{ github.base_ref }})" >> $GITHUB_ENV
|
|
run: echo "BASE_HEAD_REF=$(git rev-parse origin/${{ github.base_ref }})" >> $GITHUB_ENV
|
|
|
|
|
|
|
|
- - uses: akopachov/clang-format-action@main
|
|
|
|
|
|
|
+ - uses: akopachov/git-clang-format-diff-action@v1.0.0
|
|
|
with:
|
|
with:
|
|
|
style: file
|
|
style: file
|
|
|
commit: ${{ env.BASE_HEAD_REF }}
|
|
commit: ${{ env.BASE_HEAD_REF }}
|
|
@@ -29,4 +29,4 @@ jobs:
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
with:
|
|
with:
|
|
|
commit_message: CLang format changes
|
|
commit_message: CLang format changes
|
|
|
- branch: ${{ github.head_ref }}
|
|
|
|
|
|
|
+ branch: ${{ github.head_ref }}
|