There was an error while loading. Please reload this page.
1 parent f19969c commit 91f23dcCopy full SHA for 91f23dc
1 file changed
.github/workflows/dependabot.yml
@@ -0,0 +1,22 @@
1
+name: dependabot
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
+ pull-requests: write
7
8
+jobs:
9
+ auto-merge:
10
+ runs-on: ubuntu-latest
11
+ if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'carapace-sh/carapace-bridge'
12
+ steps:
13
+ - name: approve
14
+ run: gh pr review --approve "$PR_URL"
15
+ env:
16
+ PR_URL: ${{github.event.pull_request.html_url}}
17
+ GH_TOKEN: ${{secrets.DEPENDABOT_TOKEN}}
18
+ - name: merge
19
+ run: gh pr merge --auto --merge "$PR_URL"
20
21
22
0 commit comments