quotes again
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 23s
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 23s
This commit is contained in:
parent
ad94bf30e4
commit
f7ee6d5751
1 changed files with 21 additions and 21 deletions
|
|
@ -74,37 +74,37 @@ jobs:
|
||||||
[ "$1" = "success" ] && echo "✅" || echo "❌"
|
[ "$1" = "success" ] && echo "✅" || echo "❌"
|
||||||
}
|
}
|
||||||
|
|
||||||
FMT_OUTPUT="$(emoji ${{ steps.fmt.outcome }}) OpenTofu Format and Style"
|
FMT_OUTPUT="$(emoji "${{ steps.fmt.outcome }}") OpenTofu Format and Style"
|
||||||
INIT_OUTPUT="$(emoji ${{ steps.init.outcome }}) OpenTofu Initialization"
|
INIT_OUTPUT="$(emoji "${{ steps.init.outcome }}") OpenTofu Initialization"
|
||||||
VALIDATE_OUTPUT="$(emoji ${{ steps.validate.outcome }}) OpenTofu Validation"
|
VALIDATE_OUTPUT="$(emoji "${{ steps.validate.outcome }}") OpenTofu Validation"
|
||||||
PLAN_OUTPUT="$(emoji ${{ steps.plan.outcome }}) OpenTofu Plan 📖"
|
PLAN_OUTPUT="$(emoji "${{ steps.plan.outcome }}") OpenTofu Plan 📖"
|
||||||
|
|
||||||
COMMENT_BODY=$(cat <<EOF
|
COMMENT_BODY=$(cat <<EOF
|
||||||
### ${{ forge.workflow }}
|
### ${{ forge.workflow }}
|
||||||
|
|
||||||
${FMT_OUTPUT}
|
${FMT_OUTPUT}
|
||||||
${INIT_OUTPUT}
|
${INIT_OUTPUT}
|
||||||
${VALIDATE_OUTPUT}
|
${VALIDATE_OUTPUT}
|
||||||
|
|
||||||
<details><summary>Validation Output</summary>
|
<details><summary>Validation Output</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
${{ steps.validate.outputs.stdout }}
|
${{ steps.validate.outputs.stdout }}
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
${PLAN_OUTPUT}
|
${PLAN_OUTPUT}
|
||||||
|
|
||||||
<details><summary>Show Plan</summary>
|
<details><summary>Show Plan</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
${{ steps.plan.outputs.stdout }}
|
${{ steps.plan.outputs.stdout }}
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
|
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue