Skip to content

Commit 3c5b0a8

Browse files
authored
Adding automated release notes drafting (#46)
* ci: Adding automated release notes drafting * ci: run on master or main branch * ci: run flaky tests once a week
1 parent 50476b9 commit 3c5b0a8

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

.github/release-drafter.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
_extends: .github
2+
tag-template: 'v$RESOLVED_VERSION'
3+
name-template: 'v$RESOLVED_VERSION'
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: '🐛 Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: '🧰 Maintenance'
15+
labels:
16+
- 'chore'
17+
- 'documentation'
18+
- 'dependencies'
19+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
20+
version-resolver:
21+
major:
22+
labels:
23+
- 'major'
24+
minor:
25+
labels:
26+
- 'minor'
27+
patch:
28+
labels:
29+
- 'patch'
30+
default: patch
31+
template: |
32+
## Changes
33+
34+
$CHANGES

.github/workflows/python-test-flaky.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: Run Python Flaky Tests
22

3+
on:
4+
schedule:
5+
- cron: "0 8 * * 1"
6+
37
jobs:
48
build:
59
runs-on: ubuntu-latest
610
strategy:
711
matrix:
8-
python-version: ["3.6", "3.7", "3.8", "3.9"]
12+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
913

1014
steps:
1115
- uses: actions/checkout@v2

.github/workflows/release-drafter.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on:
2+
push:
3+
branches: [master, main]
4+
5+
jobs:
6+
update_release_draft:
7+
runs-on: ubuntu-latest
8+
steps:
9+
# Drafts your next Release notes as Pull Requests are merged into the default branch
10+
- uses: release-drafter/release-drafter@v5
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)