Adding Git token auth for comment steps.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user