Skip to content

Commit

Permalink
adding default value on build_added and build_modified packages (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacostas authored Dec 4, 2024
1 parent 2004fbd commit 4c03137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ jobs:
run_modified=$(jq '. | length' <<< "${RUN_MODIFIED}")
echo "Run packages modified: ${run_modified}"
if [ "${build_added}" -eq 0 ] && [ "${build_modified}" -eq 0 ] && [ "${run_added}" -eq 0 ] && [ "${run_modified}" -eq 0 ]; then
if [ "${build_added:-0}" -eq 0 ] && [ "${build_modified:-0}" -eq 0 ] && [ "${run_added}" -eq 0 ] && [ "${run_modified}" -eq 0 ]; then
echo "No packages changed."
# We ommit setting "packages_changed" variable to false,
# as there is an edge case scenario overriding any true value due to parallelization
Expand Down

0 comments on commit 4c03137

Please sign in to comment.