Skip to content

Commit 91f23dc

Browse files
committed
dependabot: automerge
1 parent f19969c commit 91f23dc

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
env:
21+
PR_URL: ${{github.event.pull_request.html_url}}
22+
GH_TOKEN: ${{secrets.DEPENDABOT_TOKEN}}

0 commit comments

Comments
 (0)