From ffc22bdb2717a0045f22d8282ce43642f0eb356b Mon Sep 17 00:00:00 2001 From: = <44266876+RadiatedMonkey@users.noreply.github.com> Date: Thu, 2 Jan 2025 04:39:56 +0100 Subject: [PATCH] only run workflows for main branch --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc7445f6..6263bee9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,11 @@ -on: [ push, pull_request ] - name: Continuous integration +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + jobs: check: name: Check