Skip to content

Commit 038c6e3

Browse files
authored
Merge pull request #68 from strykeforce/release-drafter
Add release-drafter Github action
2 parents 77b88ff + 9698ec9 commit 038c6e3

File tree

4 files changed

+49
-28
lines changed

4 files changed

+49
-28
lines changed

.github/release-drafter.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name-template: "v$RESOLVED_VERSION 🌈"
2+
tag-template: "v$RESOLVED_VERSION"
3+
categories:
4+
- title: "🚀 Features"
5+
labels:
6+
- "feature"
7+
- "enhancement"
8+
- title: "🐛 Bug Fixes"
9+
labels:
10+
- "fix"
11+
- "bugfix"
12+
- "bug"
13+
- title: "🧰 Maintenance"
14+
label: "chore"
15+
change-template: "- $TITLE (#$NUMBER)"
16+
version-resolver:
17+
major:
18+
labels:
19+
- "major"
20+
minor:
21+
labels:
22+
- "minor"
23+
patch:
24+
labels:
25+
- "patch"
26+
default: patch
27+
template: |
28+
## Changes
29+
30+
$CHANGES

.github/workflows/pull_request.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
with:
16+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
17+
config-name: release-drafter.yml
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)