Skip to content

Commit

Permalink
chore(ci): dump collected output
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Apr 13, 2024
1 parent 02f2c4d commit ad0eeb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/validate-renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
(npx --yes --package "$package" -- renovate-config-validator --strict || true)\
| ruby -e 'File.open(ENV[?H], ?w) {|r| while gets; puts $_; $> = r if $_.chomp == "WARN: Config migration necessary" ;end; }'
echo "---"
echo "Collected output: $H"
echo "---"
# init and extract
OLD="$(mktemp)"
mv "$OLD" "${OLD}.old.txt"
Expand All @@ -50,6 +53,7 @@ jobs:
run:
COMMENT_BUFFER="$(mktemp)"

# shellcheck disable=
printf "I'm sorry, but this config should be migrated. Please apply following patch file to proceed:" >> "$COMMENT_BUFFER"
cat "$DIFF_TO_BE_REPORTED" >> "$COMMENT_BUFFER"

Expand Down

0 comments on commit ad0eeb2

Please sign in to comment.