Switching comment action to custom one.

This commit is contained in:
2025-11-03 19:58:26 -05:00
parent 5be448e8d5
commit 9c632ef06f
@@ -113,12 +113,25 @@ jobs:
chdir: cloudflare
out: cloudflare.tfplan
- name: Tofu PR Commenter
uses: alexnorell/tofu-pr-commenter@v2.0.0
- name: PR Comment
uses: https://git.trez.wtf/Trez.One/git-auto-comment@main
env:
DEBUG: true
with:
commenter_type: plan
commenter_input: ${{ steps.tofu-plan.outputs.plan-output }}
commenter_exitcode: ${{ steps.tofu-plan.outputs.exitcode }}
debug: true
platform: gitea
api_url: https://git.trez.wtf/api/v1
token: ${{ secrets.BOT_GITEA_TOKEN }}
pr_index: ${{ needs.check-and-create-pr.outputs.pr_number }}
repo_owner: ${{ github.repository_owner }}
repo_name: ${{ steps.env-vault-vars.outputs.repo_name }}
plan_file: cloudflare/cloudflare.tfplan
comment_template: |
🚀 **Tofu Plan Output**
---
${{ steps.tofu-plan.outputs.plan-output }}
Exit Code: ${{ steps.tofu-plan.outputs.exitcode }}
- name: Wait for manual approval
uses: trstringer/manual-approval@v1