File tree 2 files changed +41
-0
lines changed
2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ updates:
6
6
schedule :
7
7
interval : " weekly"
8
8
time : " 10:00"
9
+ groups :
10
+ minor-patch :
11
+ update-types :
12
+ - " minor"
13
+ - " patch"
9
14
commit-message :
10
15
prefix : " chore"
11
16
include : " scope"
@@ -16,6 +21,11 @@ updates:
16
21
schedule :
17
22
interval : " weekly"
18
23
time : " 10:00"
24
+ groups :
25
+ minor-patch :
26
+ update-types :
27
+ - " minor"
28
+ - " patch"
19
29
commit-message :
20
30
prefix : " chore"
21
31
include : " scope"
@@ -26,6 +36,11 @@ updates:
26
36
schedule :
27
37
interval : " weekly"
28
38
time : " 10:00"
39
+ groups :
40
+ minor-patch :
41
+ update-types :
42
+ - " minor"
43
+ - " patch"
29
44
commit-message :
30
45
prefix : " chore"
31
46
include : " scope"
Original file line number Diff line number Diff line change
1
+ name : Dependabot auto-merge
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ permissions : read-all
7
+
8
+ jobs :
9
+ dependabot :
10
+ permissions :
11
+ contents : write
12
+ pull-requests : write
13
+ runs-on : ubuntu-latest
14
+ if : ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
15
+ steps :
16
+ - name : Dependabot metadata
17
+ id : metadata
18
+ uses : dependabot/fetch-metadata@c9c4182bf1b97f5224aee3906fd373f6b61b4526 # v1.6.0
19
+ with :
20
+ github-token : ${{ secrets.GITHUB_TOKEN }}
21
+ - name : Enable auto-merge for Dependabot PRs
22
+ if : ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
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