I have a workflow set up to only fire for the release branch. Yet whenever code is pushed to the develop branch the workflow continues to run. Any ideas?
workflows:
# Builds images, pushes to ecr, deploys kube staging
build-push-and-deploy-staging:
jobs:
- build-delivery-stage:
filters:
branches:
only: release
- build-integrate-stage:
filters:
branches:
only: release
- build-management-backend-stage:
filters:
branches:
only: release
- build-management-frontend-stage:
filters:
branches:
only: release
- build-management-frontend-prod:
filters:
branches:
only: release
- hold-for-approval:
name: hold-staging
context:
- core-staging
type: approval
requires:
- build-delivery-stage
- build-integrate-stage
- build-management-backend-stage
- build-management-frontend-stage
- build-management-frontend-prod
- tag-images:
name: tag-delivery-latest-stage
context:
- core-staging
ecr_repo: ${AWS_ECR_ACCOUNT_URL}/delivery-circleci
requires:
- hold-staging
- tag-images:
name: tag-integration-latest-stage
context:
- core-staging
ecr_repo: ${AWS_ECR_ACCOUNT_URL}/integration-circleci
requires:
- hold-staging