Skip to content

Commit

Permalink
DEBUG: prints
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Jul 15, 2024
1 parent a8c4160 commit 1466953
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,13 @@ jobs:
echo "body<<EOF" >> "$GITHUB_OUTPUT"
if [ -n "$body" ]; then
# Multi-file changes are listed in the body
echo "multiline body: $body"
echo "$body" >> "$GITHUB_OUTPUT"
else
# Single-file changes are only in the summary,
# e.g. "generated: Updated none-ls.nix"
echo "one-line body:"
git show --no-patch --format=%s
git show --no-patch --format=%s | sed -e 's/^generated:/-/' >> "$GITHUB_OUTPUT"
fi
echo "EOF" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 1466953

Please sign in to comment.