Skip to content

Commit a42f6de

Browse files
chore(ci): exit early if migration is not required
1 parent 1082622 commit a42f6de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/validate-renovate.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
| ruby -e 'File.open(ENV[?H], ?a) {|r| while gets; puts $_; $> = r if $_.strip == "WARN: Config migration necessary" ;end; }'
3333
echo '}' >> "$H"
3434
35+
# exit early if migration is not required
36+
if [ "$(wc -b "$H")" -eq 0 ]; then
37+
exit 0
38+
fi
39+
3540
echo "---"
3641
echo "Collected output: $H"
3742
cat "$H"

0 commit comments

Comments
 (0)