Skip to content

Commit

Permalink
Merge pull request #89 from koenrh/fix/shellcheck-warnings
Browse files Browse the repository at this point in the history
Fix ShellCheck warnings
  • Loading branch information
koenrh authored Dec 9, 2022
2 parents 879b1fc + 53bf397 commit 05fdadf
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ FILTERED_OUTPUT="$(echo "$OUTPUT" | /filter-preview-output.sh)"
# https://github.com/orgs/community/discussions/26288#discussioncomment-3876281
DELIMITER="DNSCONTROL-$RANDOM"

echo "output<<$DELIMITER" >> $GITHUB_OUTPUT
echo "$OUTPUT" >> $GITHUB_OUTPUT
echo "$DELIMITER" >> $GITHUB_OUTPUT

echo "preview_comment<<$DELIMITER" >> $GITHUB_OUTPUT
echo "$FILTERED_OUTPUT" >> $GITHUB_OUTPUT
echo "$DELIMITER" >> $GITHUB_OUTPUT
{
echo "output<<$DELIMITER"
echo "$OUTPUT"
echo "$DELIMITER"

echo "preview_comment<<$DELIMITER"
echo "$FILTERED_OUTPUT"
echo "$DELIMITER"
} >> "$GITHUB_OUTPUT"

exit $EXIT_CODE

0 comments on commit 05fdadf

Please sign in to comment.