From 35532d6c3582fcd194ae452b7447b1355a1450bf Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 2 Nov 2025 16:59:54 -0500 Subject: [PATCH] Plan PR comment and approval steps. --- .gitea/workflows/auto-pr-tofu-plan.yml | 27 ++------------------------ 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.gitea/workflows/auto-pr-tofu-plan.yml b/.gitea/workflows/auto-pr-tofu-plan.yml index 23004b6..f521086 100644 --- a/.gitea/workflows/auto-pr-tofu-plan.yml +++ b/.gitea/workflows/auto-pr-tofu-plan.yml @@ -54,7 +54,7 @@ jobs: notification_title: "GITEA: PR Check @ Rinoa" notification_message: "PR Check done 🎟️" - plan: + plan-approval: name: OpenTofu Plan needs: check-and-create-pr runs-on: ubuntu-latest @@ -119,30 +119,7 @@ jobs: with: working-directory: . chdir: cloudflare - # destroy: - # refresh-only: - # refresh: - # replace: - # target: - # target-file: - # exclude: - # exclude-file: - # var: - # var-file: out: cloudflare.tfplan - # compact-warnings: - # detailed-exitcode: - # generate-config-out: . - # input: true - # json: - # lock: - # lock-timeout: - # no-color: - # concise: - # parallelism: - # state: - # show-sensitive: - # display-plan: - name: Post PR comment uses: borchero/terraform-plan-comment@v2.4.1 @@ -159,7 +136,7 @@ jobs: minimum-approvals: 1 issue-title: "Tofu Plan for ${{ env.PR_NUMBER }}" issue-body: "Please approve or deny the deployment of the below Tofu plan" - issue-body-file-path: relative/file_path/wrt/repo/root + issue-body-file-path: cloudflare.tfplan exclude-workflow-initiator-as-approver: false fail-on-denial: true additional-approved-words: ''