From 05282d12349d9c1034b93f5833e4c8840aa48c15 Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Fri, 11 Oct 2024 13:03:59 -0400 Subject: [PATCH] Enable pre-commit on main branch (#237) --- .github/workflows/pre-commit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 5027539760..871e91f4ab 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,6 +1,9 @@ name: Pre-commit -on: [pull_request] +on: + pull_request: + push: + branches: [main] jobs: pre-commit: