We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcba7b commit 625d151Copy full SHA for 625d151
.github/workflows/auto-merge-pr.yml
@@ -0,0 +1,20 @@
1
+name: Post-Check Actions
2
+on: [pull_request]
3
+
4
+permissions:
5
+ contents: write
6
7
+jobs:
8
+ dependabot-merge:
9
+ runs-on: ubuntu-latest
10
+ if: contains(github.head_ref, 'feature/update_cli')
11
+ steps:
12
+ - name: Enable auto-merge for Dependabot PRs
13
+ env:
14
+ PR_URL: ${{github.event.pull_request.html_url}}
15
+ GITHUB_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN }}
16
+ run: gh pr merge --auto --merge "$PR_URL"
17
+ - name: Auto approve dependabot PRs
18
+ uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 #v4
19
+ with:
20
+ github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
0 commit comments