File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,25 +8,29 @@ name: Dependabot
8
8
on :
9
9
pull_request_target :
10
10
branches :
11
+ - main
11
12
- master
13
+ - stable*
14
+
15
+ permissions :
16
+ contents : read
12
17
13
18
jobs :
14
19
auto-approve-merge :
20
+ if : github.actor == 'dependabot[bot]'
15
21
runs-on : ubuntu-latest
22
+ permissions :
23
+ # for hmarr/auto-approve-action to approve PRs
24
+ pull-requests : write
16
25
17
26
steps :
18
27
# Github actions bot approve
19
28
- uses : hmarr/auto-approve-action@v2
20
- if : github.actor == 'dependabot[bot]'
21
29
with :
22
30
github-token : ${{ secrets.GITHUB_TOKEN }}
23
31
24
32
# Nextcloud bot approve and merge request
25
33
- uses : ahmadnassri/action-dependabot-auto-merge@v2
26
- if : github.actor == 'dependabot[bot]'
27
34
with :
28
35
target : minor
29
36
github-token : ${{ secrets.COOKBOOK_BOT_TOKEN }}
30
-
31
- - run : " echo 'Skipping PR auto-merge as it is no dependabot PR'"
32
- if : github.actor != 'dependabot[bot]'
Original file line number Diff line number Diff line change 35
35
[ #1118 ] ( https://github.com./nextcloud/cookbook/pull/1118 ) @christianlupus
36
36
- Create Python based testing wrapper and enhance workflow script
37
37
[ #1137 ] ( https://github.com./nextcloud/cookbook/pull/1137 ) @christianlupus
38
+ - Update workflow from nextcloud organization template
39
+ [ #1142 ] ( https://github.com./nextcloud/cookbook/pull/1142 ) @christianlupus
38
40
39
41
40
42
## 0.9.13 - 2022-07-02
You can’t perform that action at this time.
0 commit comments