From fcbcdcfb15ea9aa4e76a0f4d512d873694fe0b2e Mon Sep 17 00:00:00 2001 From: David Perl Date: Wed, 25 Nov 2026 15:43:33 +0100 Subject: [PATCH] ci: run push only for main --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b8e2207..b9e83b2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,6 +1,9 @@ name: CI for mx_bec on: + # Pushes only trigger on main; every other branch is tested through its pull request, so that a + # push to a branch with an open pull request does not run everything twice. push: + branches: [main] pull_request: workflow_dispatch: inputs: