From 9f89132a1f89b7ec8ca2bbb6d6c20e1f06337159 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Wed, 8 Apr 2026 15:32:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20feat:=20enable=20badge=20updates?= =?UTF-8?q?=20on=20all=20branches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Separate concerns properly: - Badge updates: run on all branches to keep documentation accurate - Docker builds: only on main branch for production deployments This follows best practices where documentation should be updated regardless of branch, but deployments only happen from main. --- .gitea/workflows/ci-cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 300bae6..6eba584 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -237,8 +237,9 @@ jobs: # retention-days: 1 # Single badge update step using environment variables (KISS approach) + # Badge updates should run on all branches to keep documentation accurate - name: Update all badges (single commit) - if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/user-authentication-bdd') && github.actor != 'ci-bot' + if: always() && github.actor != 'ci-bot' run: | echo "🎯 Updating all badges using environment variables..." echo "BDD Coverage: ${DLC_BDD_COVERAGE:-Not set}"