Auto-exclude copilot environment from CI/CD deployments (#2279)