Skip to content

Commit 0b9fc79

Browse files
approve pr automatically if update cli is succesfull
1 parent ffeb288 commit 0b9fc79

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/auto-merge-pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Post-Check Actions
2+
3+
on:
4+
check_suite:
5+
types: [completed]
6+
7+
jobs:
8+
post_check_actions:
9+
runs-on: ubuntu-latest
10+
if: ${{ contains(github.event.pull_request.base.ref, 'feature/update_cli') && github.event.check_suite.conclusion == 'success' }}
11+
steps:
12+
- uses: hmarr/auto-approve-action@v4
13+
with:
14+
review-message: "Auto approved automated PR"
15+
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
16+
pull-request-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)