From d2a5b8b00212aa5d25c02bf410dccc0671694f60 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 25 Jul 2022 16:30:11 +0530 Subject: [PATCH] ci: Skip pre-commit on branch builds --- .github/workflows/linters.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index c0c44ffe56..f56c108f6b 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -55,6 +55,8 @@ jobs: linter: name: 'Frappe Linter' runs-on: ubuntu-latest + if: github.event_name == 'pull_request' + steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4