Skip to content

Commit 96674b4

Browse files
committed
Minor fixes
1 parent 0dacfa8 commit 96674b4

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/terragrunt_apply.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function terragruntApply {
2424

2525
# Comment on the pull request if necessary.
2626
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
27-
applyCommentWrapper="#### \`terragrunt apply\` ${applyCommentStatus}
27+
applyCommentWrapper="#### \`${tfBinary} apply\` ${applyCommentStatus}
2828
<details><summary>Show Output</summary>
2929
3030
\`\`\`

src/terragrunt_destroy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function terragruntDestroy {
2424

2525
# Comment on the pull request if necessary.
2626
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
27-
destroyCommentWrapper="#### \`terragrunt destroy\` ${destroyCommentStatus}
27+
destroyCommentWrapper="#### \`${tfBinary} destroy\` ${destroyCommentStatus}
2828
<details><summary>Show Output</summary>
2929
3030
\`\`\`

src/terragrunt_fmt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ${fmtFileDiff}
5353

5454
done
5555

56-
fmtCommentWrapper="#### \`terraform fmt\` Failed
56+
fmtCommentWrapper="#### \`${tfBinary} fmt\` Failed
5757
${fmtComment}
5858
5959
*Workflow: \`${GITHUB_WORKFLOW}\`, Action: \`${GITHUB_ACTION}\`, Working Directory: \`${tfWorkingDir}\`, Workspace: \`${tfWorkspace}\`*"

src/terragrunt_import.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function terragruntImport {
2424

2525
# Comment on the pull request if necessary.
2626
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ] && [ "${importCommentStatus}" == "Failed" ]; then
27-
importCommentWrapper="#### \`terragrunt import\` ${importCommentStatus}
27+
importCommentWrapper="#### \`${tfBinary} import\` ${importCommentStatus}
2828
<details><summary>Show Output</summary>
2929
3030
\`\`\`

src/terragrunt_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function terragruntInit {
2121

2222
# Comment on the pull request if necessary.
2323
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
24-
initCommentWrapper="#### \`terragrunt init\` Failed
24+
initCommentWrapper="#### \`${tfBinary} init\` Failed
2525
2626
\`\`\`
2727
${initOutput}

src/terragrunt_plan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function terragruntPlan {
4444

4545
# Comment on the pull request if necessary.
4646
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ] && ([ "${planHasChanges}" == "true" ] || [ "${planCommentStatus}" == "Failed" ]); then
47-
planCommentWrapper="#### \`terragrunt plan\` ${planCommentStatus}
47+
planCommentWrapper="#### \`${tfBinary} plan\` ${planCommentStatus}
4848
<details><summary>Show Output</summary>
4949
5050
\`\`\`

src/terragrunt_taint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function terragruntTaint {
2626

2727
# Comment on the pull request if necessary.
2828
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
29-
taintCommentWrapper="#### \`terraform taint\` ${taintCommentStatus}
29+
taintCommentWrapper="#### \`${tfBinary} taint\` ${taintCommentStatus}
3030
<details><summary>Show Output</summary>
3131
3232
\`\`\`

src/terragrunt_validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function terragruntValidate {
2121

2222
# Comment on the pull request if necessary.
2323
if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && [ "${tfComment}" == "1" ]; then
24-
validateCommentWrapper="#### \`terragrunt validate\` Failed
24+
validateCommentWrapper="#### \`${tfBinary} validate\` Failed
2525
2626
\`\`\`
2727
${validateOutput}

0 commit comments

Comments
 (0)