Skip to content

Commit 70b9185

Browse files
Merge pull request #359 from overmindtech/feature/add-overmind-approval-action
Add autoapproval github action
2 parents 01604a3 + 9499bc1 commit 70b9185

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/automatic.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,16 @@ jobs:
165165
overmind-api-key: ${{ secrets.OVM_API_KEY }}
166166
infracost-api-key: ${{ secrets.INFRACOST_API_KEY }}
167167
terraform-plan-json: ./tfplan-cost.json
168+
169+
auto-approval:
170+
runs-on: ubuntu-latest
171+
if: github.event.action != 'closed'
172+
needs: execute
173+
permissions:
174+
pull-requests: write
175+
steps:
176+
- uses: overmindtech/approval-action@v1
177+
with:
178+
github-token: ${{ secrets.GITHUB_TOKEN }}
179+
block-on-high-risks: true
180+
max-medium-risks: 3

0 commit comments

Comments
 (0)