Skip to content

Commit

Permalink
fix(ci): append instead of overwrite, causing open-brace to be disapp…
Browse files Browse the repository at this point in the history
…eared
  • Loading branch information
KisaragiEffective committed Apr 13, 2024
1 parent 5c78c3f commit 0219c33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/validate-renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
echo '{' >> "$H"
# let's do main part, but avoid pipefail
(npx --yes --package "$package" -- renovate-config-validator --strict || true)\
| ruby -e 'File.open(ENV[?H], ?w) {|r| while gets; puts $_; $> = r if $_.strip == "WARN: Config migration necessary" ;end; }'
| ruby -e 'File.open(ENV[?H], ?a) {|r| while gets; puts $_; $> = r if $_.strip == "WARN: Config migration necessary" ;end; }'
echo '}' >> "$H"
echo "---"
echo "Collected output: $H"
cat "$H"
Expand Down

0 comments on commit 0219c33

Please sign in to comment.