Adding Git token auth for comment steps.

This commit is contained in:
2025-11-09 06:04:46 -05:00
parent 96e830c385
commit 013e07f32a
@@ -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