From a39c86ca2018276a5e9508055cf8840cd4a546ea Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Tue, 31 Dec 2024 14:06:22 +0000 Subject: [PATCH] PI-2713 Fix deployments for projects with disabled batch jobs (#4521) These were triggering a false-positive when `enabled: false` was set on the cron jobs. --- .github/actions/merge-changes/check-deployments.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/merge-changes/check-deployments.sh b/.github/actions/merge-changes/check-deployments.sh index cfa9464803..df98422070 100755 --- a/.github/actions/merge-changes/check-deployments.sh +++ b/.github/actions/merge-changes/check-deployments.sh @@ -12,7 +12,7 @@ function deploymentEnabled() { env=$1 while IFS= read -r project; do file="projects/$project/deploy/values-$env.yml" - if [ -f "$file" ] && ! grep -q 'enabled: false' "$file"; then echo "$project"; fi + if [ -f "$file" ] && ! grep -q '^enabled: false' "$file"; then echo "$project"; fi done }