diff --git a/.gitea/workflows/auto-pr-tofu-plan.yml b/.gitea/workflows/auto-pr-tofu-plan.yml index df5997d..7c9d40c 100644 --- a/.gitea/workflows/auto-pr-tofu-plan.yml +++ b/.gitea/workflows/auto-pr-tofu-plan.yml @@ -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