Re-adding manual approval step... fingers crossed.
This commit is contained in:
@@ -150,11 +150,6 @@ jobs:
|
||||
with:
|
||||
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
|
||||
uses: https://git.trez.wtf/Trez/tf-pr-commenter@main
|
||||
env:
|
||||
@@ -170,17 +165,18 @@ jobs:
|
||||
pr_comments_url: ${{ env.PR_COMMENTS_URL }}
|
||||
working_directory: cloudflare
|
||||
|
||||
# - name: Wait for manual approval
|
||||
# uses: trstringer/manual-approval@v1
|
||||
# with:
|
||||
# secret: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
# approvers: WTF
|
||||
# minimum-approvals: 1
|
||||
# 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-file-path: cloudflare/cloudflare.tfplan
|
||||
# exclude-workflow-initiator-as-approver: false
|
||||
# fail-on-denial: true
|
||||
- name: Wait for manual approval
|
||||
uses: trstringer/manual-approval@v1.12.0
|
||||
with:
|
||||
secret: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||
approvers: WTF
|
||||
minimum-approvals: 1
|
||||
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"
|
||||
additional-approved-words: app,lgtm,y,m
|
||||
issue-body-file-path: cloudflare/cloudflare.tfplan
|
||||
exclude-workflow-initiator-as-approver: false
|
||||
fail-on-denial: true
|
||||
|
||||
# apply:
|
||||
# name: Apply Tofu Plan
|
||||
|
||||
Reference in New Issue
Block a user