File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,8 @@ updates:
16
16
schedule :
17
17
interval : " daily"
18
18
open-pull-requests-limit : 1
19
- versioning-strategy : increase
19
+ versioning-strategy : increase
20
+ - package-ecosystem : " github-actions"
21
+ directory : " /"
22
+ schedule :
23
+ interval : " daily"
Original file line number Diff line number Diff line change
1
+ name : Automerge Dependabot
2
+
3
+ on : pull_request
4
+
5
+ permissions : write-all
6
+
7
+ jobs :
8
+ dependabot :
9
+ runs-on : ubuntu-latest
10
+ if : ${{ github.actor == 'dependabot[bot]' }}
11
+ steps :
12
+ - name : Dependabot metadata
13
+ id : metadata
14
+ uses :
dependabot/[email protected]
15
+ with :
16
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
17
+ - name : Approve Dependabot PRs
18
+ run : gh pr review --approve "$PR_URL"
19
+ env :
20
+ PR_URL : ${{github.event.pull_request.html_url}}
21
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
22
+ - name : Enable auto-merge for Dependabot PRs
23
+ run : gh pr merge --auto --squash "$PR_URL"
24
+ env :
25
+ PR_URL : ${{github.event.pull_request.html_url}}
26
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments