Skip to content

Commit

Permalink
Add newlines to fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow committed May 27, 2019
1 parent 22aeec4 commit 92dc8b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apply/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ if [ $SUCCESS -ne 0 ]; then
OUTPUT=$(wrap "$OUTPUT")
COMMENT="#### \`terraform apply\` Failed
$OUTPUT
*Workflow: \`$GITHUB_WORKFLOW\`, Action: \`$GITHUB_ACTION\`*"
else
# Call wrap to optionally wrap our output in a collapsible markdown section.
OUTPUT=$(wrap "$OUTPUT")
COMMENT="#### \`terraform apply\` Success
$OUTPUT
*Workflow: \`$GITHUB_WORKFLOW\`, Action: \`$GITHUB_ACTION\`*"
fi

Expand Down
2 changes: 2 additions & 0 deletions plan/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ if [ $SUCCESS -ne 0 ]; then
OUTPUT=$(wrap "$OUTPUT")
COMMENT="#### \`terraform plan\` Failed
$OUTPUT
*Workflow: \`$GITHUB_WORKFLOW\`, Action: \`$GITHUB_ACTION\`*"
else
# Remove "Refreshing state..." lines by only keeping output after the
Expand All @@ -72,6 +73,7 @@ else

COMMENT="#### \`terraform plan\` Success
$OUTPUT
*Workflow: \`$GITHUB_WORKFLOW\`, Action: \`$GITHUB_ACTION\`*"
fi

Expand Down

0 comments on commit 92dc8b7

Please sign in to comment.