Skip to content

Commit

Permalink
Merge pull request #57 from StreetContxt/release-drafter
Browse files Browse the repository at this point in the history
Add Release Drafter config
  • Loading branch information
bpg authored Sep 2, 2020
2 parents 2e8fac6 + 1c338b0 commit e4cb93d
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'release-$RESOLVED_VERSION'
categories:
- title: '⚠️ Breaking changes'
label: 'breaking-change'
- title: '🚀 Features'
label: 'enhancement'
- title: '📘 Documentation'
label: 'documentation'
- title: '🐛 Bug Fixes'
label: 'bug'
- title: '📈 Dependency updates'
label: 'dependency'
- title: '🧰 Maintenance'
label: 'maintenance'
exclude-labels:
- 'skip-changelog'
version-resolver:
major:
labels:
- "major"
- "breaking-change"
minor:
labels:
- "minor"
- "enhancement"
patch:
labels:
- "patch"
- "maintenance"
- "dependency"
- "bug"
default: patch
template: |
## What's changed
$CHANGES
## Contributors to this release
$CONTRIBUTORS
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- name: Update release draft
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e4cb93d

Please sign in to comment.