From dc5fc28ff1614b15f1059273785ffa4fc6d8f85f 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workflow CI s'exécute maintenant uniquement sur branches feature et PRs. Sur main, seul le workflow CD s'exécute (qui appelle CI en interne). Ceci évite les exécutions CI dupliquées. --- .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: