Skip to content

Commit

Permalink
PI-2713 Fix deployments for projects with disabled batch jobs (#4521)
Browse files Browse the repository at this point in the history
These were triggering a false-positive when `enabled: false` was set on the cron jobs.
  • Loading branch information
marcus-bcl authored Dec 31, 2024
1 parent 32240ff commit a39c86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/merge-changes/check-deployments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a39c86c

Please sign in to comment.