From 013e07f32a3aca79e26b623bc173ed3155abfa09 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sun, 9 Nov 2025 06:04:46 -0500 Subject: [PATCH] Adding Git token auth for comment steps. --- .gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml b/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml index d08988c..a6f4c9d 100644 --- a/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml +++ b/.gitea/workflows/cloudflare-auto-pr-tofu-pipeline.yml @@ -116,13 +116,12 @@ jobs: - name: Tofu PR Commenter uses: https://git.trez.wtf/Trez/tf-pr-commenter@main - env: - GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }} with: commenter_type: init commenter_input: ${{ steps.tofu-init.outputs.init-output }} commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }} working_directory: cloudflare + git_token: ${{ secrets.BOT_GITEA_TOKEN }} - name: Tofu Plan id: tofu-plan @@ -142,6 +141,7 @@ jobs: commenter_input: ${{ steps.tofu-init.outputs.init-output }} commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }} working_directory: cloudflare + git_token: ${{ secrets.BOT_GITEA_TOKEN }} # - name: Wait for manual approval # uses: trstringer/manual-approval@v1