Re-adding manual approval step... fingers crossed.
This commit is contained in:
@@ -150,11 +150,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
colored: ${{ steps.tofu-plan.outputs.plan-output }}
|
colored: ${{ steps.tofu-plan.outputs.plan-output }}
|
||||||
|
|
||||||
# - name: Comment PR with execution number
|
|
||||||
# uses: thollander/actions-comment-pull-request@v3
|
|
||||||
# with:
|
|
||||||
# file-path: cloudflare/cloudflare.tfplan
|
|
||||||
|
|
||||||
- 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:
|
env:
|
||||||
@@ -170,17 +165,18 @@ jobs:
|
|||||||
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
|
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
|
||||||
working_directory: cloudflare
|
working_directory: cloudflare
|
||||||
|
|
||||||
# - name: Wait for manual approval
|
- name: Wait for manual approval
|
||||||
# uses: trstringer/manual-approval@v1
|
uses: trstringer/manual-approval@v1.12.0
|
||||||
# with:
|
with:
|
||||||
# secret: ${{ secrets.BOT_GITEA_TOKEN }}
|
secret: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
# approvers: WTF
|
approvers: WTF
|
||||||
# minimum-approvals: 1
|
minimum-approvals: 1
|
||||||
# issue-title: "Tofu Plan for ${{ needs.check-and-create-pr.outputs.pr_number }}"
|
issue-title: "Tofu Plan for ${{ needs.check-and-create-pr.outputs.pr_number }}"
|
||||||
# issue-body: "Please approve or deny the deployment of the below Tofu plan"
|
issue-body: "Please approve or deny the deployment of the below Tofu plan"
|
||||||
# issue-body-file-path: cloudflare/cloudflare.tfplan
|
additional-approved-words: app,lgtm,y,m
|
||||||
# exclude-workflow-initiator-as-approver: false
|
issue-body-file-path: cloudflare/cloudflare.tfplan
|
||||||
# fail-on-denial: true
|
exclude-workflow-initiator-as-approver: false
|
||||||
|
fail-on-denial: true
|
||||||
|
|
||||||
# apply:
|
# apply:
|
||||||
# name: Apply Tofu Plan
|
# name: Apply Tofu Plan
|
||||||
|
|||||||
Reference in New Issue
Block a user