From a812582ff3c02cacbdb12803d3a1e502ae2bf313 Mon Sep 17 00:00:00 2001 From: Binbin Date: Wed, 15 Jan 2025 15:28:22 +0800 Subject: [PATCH] Allow clang-format to be triggered in push events Just like spell-check workflow, we should allow to trigger it in push events, so that the forks repo can notice the format thing way before submitting the PR. Signed-off-by: Binbin --- .github/workflows/clang-format.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index efc63a1f6f..ab4f7a040d 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -1,6 +1,7 @@ name: Clang Format Check on: + push: pull_request: paths: - 'src/**'