diff --git a/.github/workflows/ClangFormat.yml b/.github/workflows/ClangFormat.yml index 29db349..5f36413 100644 --- a/.github/workflows/ClangFormat.yml +++ b/.github/workflows/ClangFormat.yml @@ -1,12 +1,7 @@ name: Clang Format Checker and Auto-Fixer on: - push: - branches: - - '*' - workflow_run: - workflows: ["Clang Format Checker and Auto-Fixer"] - types: - - completed + pull_request: + branches: [main] jobs: clang-format-checking: