Skip to content

Commit ad52b71

Browse files
committed
Add Release Drafter
1 parent 2841377 commit ad52b71

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/release-drafter.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name-template: '$NEXT_MINOR_VERSION'
2+
tag-template: 'v$NEXT_MINOR_VERSION'
3+
categories:
4+
- title: 'Added'
5+
labels:
6+
- 'feature'
7+
- title: 'Changed'
8+
labels:
9+
- 'enhancement'
10+
- 'dependency-update'
11+
- 'dependencies'
12+
- title: 'Fixed'
13+
labels:
14+
- 'fix'
15+
- 'bugfix'
16+
- 'bug'
17+
include-labels:
18+
- 'feature'
19+
- 'enhancement'
20+
- 'dependency-update'
21+
- 'dependencies'
22+
- 'fix'
23+
- 'bugfix'
24+
- 'bug'
25+
exclude-labels:
26+
- 'skip-changelog'
27+
- 'docs'
28+
- 'build'
29+
change-template: '- $TITLE [#$NUMBER](https://github.com/stac-utils/stac4s/pull/$NUMBER) (@$AUTHOR)'
30+
template: |
31+
$CHANGES
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+
- main
7+
pull_request:
8+
types: [opened, reopened, synchronize]
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: release-drafter/[email protected]
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)