🤖 feat: enable badge updates on all branches
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.
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user