diff --git a/.github/workflows/auto-clang-format.yml b/.github/workflows/auto-clang-format.yml index 0da73acd..a6422c14 100644 --- a/.github/workflows/auto-clang-format.yml +++ b/.github/workflows/auto-clang-format.yml @@ -7,6 +7,8 @@ jobs: steps: - uses: actions/checkout@v6 + with: + ref: ${{ github.head_ref }} - uses: DoozyX/clang-format-lint-action@v0.20 with: source: '.'