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