Skip to content

Commit e8a7471

Browse files
authored
Merge pull request #24 from zkoppert/release-drafter
Enable release drafting
2 parents 1cca6c9 + 3bcfa6e commit e8a7471

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/release-drafter.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
template: |
4+
# Changelog
5+
$CHANGES
6+
7+
See details of [all code changes](https://github.com/zkoppert/innersource-crawler/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
8+
9+
categories:
10+
- title: '🚀 Features'
11+
labels:
12+
- 'feature'
13+
- 'enhancement'
14+
- title: '🐛 Bug Fixes'
15+
labels:
16+
- 'fix'
17+
- 'bugfix'
18+
- 'bug'
19+
- title: '🧰 Maintenance'
20+
labels:
21+
- 'infrastructure'
22+
- 'automation'
23+
- 'documentation'
24+
- 'dependencies'
25+
- title: '🏎 Performance'
26+
label: 'performance'
27+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
28+
version-resolver:
29+
major:
30+
labels:
31+
- 'type: breaking'
32+
minor:
33+
labels:
34+
- 'type: enhancement'
35+
patch:
36+
labels:
37+
- 'type: bug'
38+
- 'type: maintenance'
39+
- 'type: documentation'
40+
default: patch

.github/workflows/release-drafter.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- main
8+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: release-drafter/release-drafter@v5
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)