Skip to content

Commit ac4eee6

Browse files
committed
Main branch, and release drafter excludes
1 parent 07528b9 commit ac4eee6

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.github/release-drafter.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ template: |
22
## What’s Changed
33
44
$CHANGES
5+
6+
exclude-labels:
7+
- 'dependencies'

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: ci
44
on: # yamllint disable-line rule:truthy
55
push:
66
branches:
7-
- master
7+
- main
88
pull_request:
99

1010
jobs:

.github/workflows/release-drafter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: Release Drafter
33
on: # yamllint disable-line rule:truthy
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
update_release_draft:
1010
runs-on: ubuntu-latest
1111
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"
1313
- uses: release-drafter/release-drafter@v5
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.mergify.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
pull_request_rules:
22
- name: automatic merge for Dependabot pull requests
33
conditions:
4-
- author~=^dependabot(|-preview)\[bot\]$
4+
- status-success~=Validate a Pull Request
5+
- author=dependabot[bot]
56
actions:
67
merge:
78
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: {}

0 commit comments

Comments
 (0)