Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 8774ca4

Browse files
authored
Merge pull request #61 from phillc/master
Add release drafter
2 parents 5984161 + 257a6bc commit 8774ca4

File tree

4 files changed

+83
-0
lines changed

4 files changed

+83
-0
lines changed

.github/labels.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
- name: added-feature
2+
description: for new features in the changelog.
3+
color: a2eeef
4+
- name: changed
5+
description: for changes in existing functionality in the changelog.
6+
color: a2eeef
7+
- name: deprecated
8+
description: for soon-to-be removed features in the changelog.
9+
color: e4e669
10+
- name: removed
11+
description: for now removed features in the changelog.
12+
color: e4e669
13+
- name: bugfix
14+
description: for any bug fixes in the changelog.
15+
color: d73a4a
16+
- name: security
17+
description: for vulnerabilities in the changelog.
18+
color: dd4739
19+
- name: bug
20+
description: Something isn't working in this issue.
21+
color: d73a4a
22+
- name: enhancement
23+
description: New feature request in this issue.
24+
color: a2eeef
25+
- name: good first issue
26+
description: Low hanging fruit.
27+
color: 7057ff
28+

.github/release-drafter.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
categories:
4+
- title: '🚀 Added'
5+
label: 'added-feature'
6+
- title: '🧰 Changed'
7+
label: 'changed'
8+
- title: "⚠️ Deprecated"
9+
label: "deprecated"
10+
- title: "⚠️ Removed"
11+
label: "removed"
12+
- title: '🐛 Bug Fixes'
13+
label: 'bugfix'
14+
- title: "⚠️ Security"
15+
label: "security"
16+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
17+
no-changes-template: "- No changes"
18+
template: |
19+
## Changes
20+
21+
$CHANGES

.github/workflows/label-sync.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync labels
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
- .github/labels.yml
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: micnncim/action-label-syncer@v1
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
manifest: .github/labels.yml

.github/workflows/release-drafter.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
with:
14+
config-name: release-drafter.yml
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+

0 commit comments

Comments
 (0)