Tofu plan output and PR comment.
This commit is contained in:
@@ -152,7 +152,7 @@ jobs:
|
|||||||
# exclude-file:
|
# exclude-file:
|
||||||
# var:
|
# var:
|
||||||
# var-file:
|
# var-file:
|
||||||
# out:
|
out: cloudflare.tfplan
|
||||||
# compact-warnings:
|
# compact-warnings:
|
||||||
# detailed-exitcode:
|
# detailed-exitcode:
|
||||||
# generate-config-out: .
|
# generate-config-out: .
|
||||||
@@ -171,12 +171,14 @@ jobs:
|
|||||||
uses: https://git.trez.wtf/Trez.One/git-auto-comment@main
|
uses: https://git.trez.wtf/Trez.One/git-auto-comment@main
|
||||||
with:
|
with:
|
||||||
platform: gitea
|
platform: gitea
|
||||||
token: ${BOT_GITEA_TOKEN}
|
token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
pr_index: $${{ steps.tea-pr-index.outputs.pr_number }}
|
pr_index: ${{ steps.tea-pr-index.outputs.pr_number }}
|
||||||
|
content: ${{ steps.tofu_plan.outputs.plan-output }}
|
||||||
comment_template: |
|
comment_template: |
|
||||||
${{ steps.tofu_plan.outputs.plan-output }}
|
🚀 **Tofu Plan Output**
|
||||||
____________________________________
|
---
|
||||||
${{ steps.tofu_plan.outputs.exitcode }}
|
{lines}
|
||||||
|
Exit Code: ${{ steps.tofu_plan.outputs.exitcode }}
|
||||||
|
|
||||||
# - name: Tofu Plan Comment
|
# - name: Tofu Plan Comment
|
||||||
# id: tofu_plan
|
# id: tofu_plan
|
||||||
|
|||||||
Reference in New Issue
Block a user