File tree 4 files changed +21
-4
lines changed
4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ template: |
2
2
## What’s Changed
3
3
4
4
$CHANGES
5
+
6
+ exclude-labels :
7
+ - ' dependencies'
Original file line number Diff line number Diff line change 4
4
on : # yamllint disable-line rule:truthy
5
5
push :
6
6
branches :
7
- - master
7
+ - main
8
8
pull_request :
9
9
10
10
jobs :
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name: Release Drafter
3
3
on : # yamllint disable-line rule:truthy
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
7
8
8
jobs :
9
9
update_release_draft :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- # Drafts next Release notes as Pull Requests are merged into "master "
12
+ # Drafts next Release notes as Pull Requests are merged into "main "
13
13
- uses : release-drafter/release-drafter@v5
14
14
env :
15
15
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
2
- name : automatic merge for Dependabot pull requests
3
3
conditions :
4
- - author~=^dependabot(|-preview)\[bot\]$
4
+ - status-success~=Validate a Pull Request
5
+ - author=dependabot[bot]
5
6
actions :
6
7
merge :
7
8
method : merge
9
+
10
+ - name : Label dependabot PRs
11
+ conditions :
12
+ - author=dependabot[bot]
13
+ actions :
14
+ label :
15
+ add : ["dependencies"]
16
+
17
+ - name : Delete the PR branch after merge
18
+ conditions :
19
+ - merged
20
+ actions :
21
+ delete_head_branch : {}
You can’t perform that action at this time.
0 commit comments