From 924594989ef4a6cb93ace658f90381cf9928d42f Mon Sep 17 00:00:00 2001 From: Tellsanguis Date: Thu, 13 Nov 2025 19:52:52 +0100 Subject: [PATCH] fix(ci): Exclusion branche main du workflow CI 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: