Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit 52fc3a3

Browse files
authored
(#37) Add the Release Drafter workflow.
1 parent 8470a76 commit 52fc3a3

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/config/release-drafter.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
template: |
4+
## Diff
5+
6+
$CHANGES
7+
version-resolver:
8+
major:
9+
labels:
10+
- 'major'
11+
minor:
12+
labels:
13+
- 'minor'
14+
patch:
15+
labels:
16+
- 'patch'
17+
default: patch
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- notebooks
7+
8+
jobs:
9+
Update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
with:
14+
config-name: config/release-drafter.yml
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)