diff --git a/.github/workflows/clang-format-check.yaml b/.github/workflows/clang-format-check.yaml index 67015f5..b33317e 100644 --- a/.github/workflows/clang-format-check.yaml +++ b/.github/workflows/clang-format-check.yaml @@ -1,4 +1,7 @@ +# SPDX-FileCopyrightText: Menix-OS Team +# SPDX-License-Identifier: LGPL-2.1-or-later name: clang-format Check + on: pull_request: types: [opened, review_requested, synchronize] @@ -15,6 +18,7 @@ jobs: name: Formatting Check runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 # Filter only files changed by the PR. - name: Filter changed files id: filter @@ -26,7 +30,6 @@ jobs: h_files: - '**.h' # Check code. - - uses: actions/checkout@v4 - name: Run clang-format style check for C. if: steps.filter.outputs.c_files == 'true' || steps.filter.outputs.h_files == 'true' uses: jidicula/clang-format-action@v4.13.0