From 3c290eaab27a414c0fd8d644b3f0a406e038f2d4 Mon Sep 17 00:00:00 2001 From: stnolting Date: Sat, 5 Oct 2024 15:49:27 +0200 Subject: [PATCH] Update Linty.yml --- .github/workflows/Linty.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Linty.yml b/.github/workflows/Linty.yml index 881320d8b..7dafda828 100644 --- a/.github/workflows/Linty.yml +++ b/.github/workflows/Linty.yml @@ -1,10 +1,11 @@ name: Linty on: - pull_request: push: + workflow_dispatch: jobs: linty: + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' name: Linty timeout-minutes: 10 runs-on: ubuntu-latest