File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -101,24 +101,18 @@ jobs:
101
101
name : Waiting for approval
102
102
runs-on : ubuntu-latest
103
103
steps :
104
- - name : Generate token
105
- id : generate_token
106
- uses : tibdex/github-app-token@v1
107
- with :
108
- app_id : ${{ secrets.APP_ID }}
109
- private_key : ${{ secrets.APP_SECRET }}
110
104
- name : Approve Production Deployment
111
105
uses : trstringer/manual-approval@v1
112
106
with :
113
- approvers : approvers
107
+ approvers : approvers # lambda feedback defined team in organisation
114
108
minimum-approvals : 1
115
109
timeout-minutes : 10
116
- secret : ${{ steps.generate_token.outputs.token }}
110
+ secret : ${{ secrets.GITHUB_TOKEN }}
117
111
issue-title : Approve Production Deployment
118
112
issue-body : Approve production deployment for the Chatbot Module
119
113
exclude-workflow-initiator-as-approver : false
120
- additional-approved-words : fine, go
121
- additional-denied-words : " "
114
+ additional-approved-words : " fine, go ahead "
115
+ additional-denied-words : " deny, to review "
122
116
123
117
prod_job :
124
118
needs : approval_job
@@ -138,6 +132,7 @@ jobs:
138
132
- name : Login to Amazon ECR
139
133
id : login-pf-aws-ecr
140
134
uses : aws-actions/amazon-ecr-login@v2
135
+
141
136
- name : Build and push the tagged docker image to Amazon ECR
142
137
id : build-custom-image
143
138
env :
You can’t perform that action at this time.
0 commit comments