diff --git a/.github/workflows/clang-format-check-autopass.yml b/.github/workflows/clang-format-check-autopass.yml deleted file mode 100644 index 6619b1f..0000000 --- a/.github/workflows/clang-format-check-autopass.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: clang-format Check - -on: - pull_request: - paths: - - 'docs/**' - - 'README.md' -jobs: - formatting-check: - name: C++ Formatting Check - runs-on: ubuntu-latest - steps: - - run: 'echo "No c++ formatting check required on docs changes"' diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml deleted file mode 100644 index c4bc687..0000000 --- a/.github/workflows/clang-format-check.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: clang-format Check - -on: - push: - branches: - - main - pull_request: - paths-ignore: - - 'docs/**' - - 'README.md' - workflow_dispatch: -jobs: - formatting-check: - name: C++ Formatting Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Check formatting - uses: jidicula/clang-format-action@v4.4.0 - with: - clang-format-version: '14' - exclude-regex: 'extern/'