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.