From f36f68c5907ad0cba3e682a790cf05efe15980d3 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 1 May 2025 14:43:43 -0400 Subject: [PATCH] ci: Disable no-commit-to-branch (#2084) All merges produced by github are pushes to main, which makes the check fail. The check is local by design, not meant for CI. Signed-off-by: Ihar Hrachyshka Signed-off-by: Ihar Hrachyshka --- .github/workflows/pre-commit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 173d64dca..4df04fbb0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -27,6 +27,8 @@ jobs: .pre-commit-config.yaml - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 + env: + SKIP: no-commit-to-branch - name: Verify if there are any diff files after pre-commit run: |