From 801e130679444892cf94ac80b3900b87b2bca987 Mon Sep 17 00:00:00 2001 From: Tellsanguis Date: Thu, 13 Nov 2025 19:52:52 +0100 Subject: [PATCH] fix(ci): Exclude main branch from CI workflow CI workflow now runs only on feature branches and PRs. On main, only CD workflow runs (which internally calls CI). This prevents duplicate CI runs. --- .forgejo/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 6960efd..d484eb8 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -2,7 +2,9 @@ name: CI - Validation on: push: - branches: ['**'] # All branches + branches: + - '**' + - '!main' # Exclude main branch (CD workflow handles it) pull_request: jobs: