Adding Git token auth for comment steps.
This commit is contained in:
@@ -116,13 +116,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Tofu PR Commenter
|
- name: Tofu PR Commenter
|
||||||
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
|
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
commenter_type: init
|
commenter_type: init
|
||||||
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
||||||
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
||||||
working_directory: cloudflare
|
working_directory: cloudflare
|
||||||
|
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Tofu Plan
|
- name: Tofu Plan
|
||||||
id: tofu-plan
|
id: tofu-plan
|
||||||
@@ -142,6 +141,7 @@ jobs:
|
|||||||
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
commenter_input: ${{ steps.tofu-init.outputs.init-output }}
|
||||||
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
commenter_exitcode: ${{ steps.tofu-init.outputs.exitcode }}
|
||||||
working_directory: cloudflare
|
working_directory: cloudflare
|
||||||
|
git_token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
|
|
||||||
# - name: Wait for manual approval
|
# - name: Wait for manual approval
|
||||||
# uses: trstringer/manual-approval@v1
|
# uses: trstringer/manual-approval@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user