Skip to content

Commit 260a417

Browse files
authored
Auto release via drafting, step one (#2453)
* first step of auto-release with the release drafter * PR Comments * making leibale happy
1 parent 3273c85 commit 260a417

10 files changed

+305
-4
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name-template: 'bloom@$NEXT_PATCH_VERSION'
2+
tag-template: 'bloom@$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'chore'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'chore'
12+
branch:
13+
- '/chore-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: 'Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
37+
change-template: '- $TITLE (#$NUMBER)'
38+
include-paths:
39+
- 'packages/bloom'
40+
exclude-labels:
41+
- 'skip-changelog'
42+
template: |
43+
## Changes
44+
45+
$CHANGES
46+
47+
## Contributors
48+
We'd like to thank all the contributors who worked on this release!
49+
50+
$CONTRIBUTORS
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name-template: 'graph@$NEXT_PATCH_VERSION'
2+
tag-template: 'graph@$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'chore'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'chore'
12+
branch:
13+
- '/chore-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: 'Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
change-template: '- $TITLE (#$NUMBER)'
37+
include-paths:
38+
- 'packages/graph'
39+
exclude-labels:
40+
- 'skip-changelog'
41+
template: |
42+
## Changes
43+
44+
$CHANGES
45+
46+
## Contributors
47+
We'd like to thank all the contributors who worked on this release!
48+
49+
$CONTRIBUTORS

.github/release-drafter-config.yml renamed to .github/release-drafter/json-config.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name-template: 'Version $NEXT_PATCH_VERSION'
2-
tag-template: 'v$NEXT_PATCH_VERSION'
1+
name-template: 'json@$NEXT_PATCH_VERSION'
2+
tag-template: 'json@$NEXT_PATCH_VERSION'
33
autolabeler:
44
- label: 'chore'
55
files:
@@ -28,8 +28,15 @@ categories:
2828
- 'bugfix'
2929
- 'bug'
3030
- title: '🧰 Maintenance'
31-
label: 'chore'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
3237
change-template: '- $TITLE (#$NUMBER)'
38+
include-paths:
39+
- 'packages/json'
3340
exclude-labels:
3441
- 'skip-changelog'
3542
template: |
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name-template: 'search@$NEXT_PATCH_VERSION'
2+
tag-template: 'search@$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'chore'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'chore'
12+
branch:
13+
- '/chore-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: 'Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
37+
change-template: '- $TITLE (#$NUMBER)'
38+
include-paths:
39+
- 'packages/search'
40+
exclude-labels:
41+
- 'skip-changelog'
42+
template: |
43+
## Changes
44+
45+
$CHANGES
46+
47+
## Contributors
48+
We'd like to thank all the contributors who worked on this release!
49+
50+
$CONTRIBUTORS
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name-template: 'time-series@$NEXT_PATCH_VERSION'
2+
tag-template: 'time-series@$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'chore'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'chore'
12+
branch:
13+
- '/chore-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: 'Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label:
32+
- 'chore'
33+
- 'maintenance'
34+
- 'documentation'
35+
- 'docs'
36+
change-template: '- $TITLE (#$NUMBER)'
37+
include-paths:
38+
- 'packages/time-series'
39+
exclude-labels:
40+
- 'skip-changelog'
41+
template: |
42+
## Changes
43+
44+
$CHANGES
45+
46+
## Contributors
47+
We'd like to thank all the contributors who worked on this release!
48+
49+
$CONTRIBUTORS
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
11+
update_release_draft:
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Drafts your next Release notes as Pull Requests are merged into "master"
18+
- uses: release-drafter/release-drafter@v5
19+
with:
20+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
21+
config-name: release-drafter/bloom-config.yml
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
11+
update_release_draft:
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Drafts your next Release notes as Pull Requests are merged into "master"
18+
- uses: release-drafter/release-drafter@v5
19+
with:
20+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
21+
config-name: release-drafter/graph-config.yml
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-drafter.yml renamed to .github/workflows/release-drafter-json.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ on:
77
- master
88

99
jobs:
10+
1011
update_release_draft:
12+
permissions:
13+
contents: write
14+
pull-requests: write
1115
runs-on: ubuntu-latest
1216
steps:
1317
# Drafts your next Release notes as Pull Requests are merged into "master"
1418
- uses: release-drafter/release-drafter@v5
1519
with:
1620
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
17-
config-name: release-drafter-config.yml
21+
config-name: release-drafter/json-config.yml
1822
env:
1923
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
11+
update_release_draft:
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Drafts your next Release notes as Pull Requests are merged into "master"
18+
- uses: release-drafter/release-drafter@v5
19+
with:
20+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
21+
config-name: release-drafter/search-config.yml
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
11+
update_release_draft:
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Drafts your next Release notes as Pull Requests are merged into "master"
18+
- uses: release-drafter/release-drafter@v5
19+
with:
20+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
21+
config-name: release-drafter/time-series-config.yml
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)