Kaynağa Gözat

Update auto-clang-format.yml

Alexander Kopachov 2 yıl önce
ebeveyn
işleme
a9d7dec88b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      .github/workflows/auto-clang-format.yml

+ 2 - 2
.github/workflows/auto-clang-format.yml

@@ -21,7 +21,7 @@ jobs:
     - name: Get last commit on ${{ github.base_ref }} branch
       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:
         style: file
         commit: ${{ env.BASE_HEAD_REF }}
@@ -29,4 +29,4 @@ jobs:
     - uses: stefanzweifel/git-auto-commit-action@v4
       with:
         commit_message: CLang format changes
-        branch: ${{ github.head_ref }}
+        branch: ${{ github.head_ref }}