From 6c837240c538005fb60fe18a4b0a8c99f0dc900b Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Thu, 27 Jun 2024 07:47:49 -0700 Subject: [PATCH] Run clang-format-check.yml on pull_request It is inconvenient to report a formatting error after a pull request has been merged. --- .github/workflows/clang-format-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 080bb7428d..6448fc5341 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -1,5 +1,5 @@ name: CI Format Check -on: [push] +on: [push, pull_request] permissions: contents: read