Skip to content

Commit

Permalink
Add release drafter (#226)
Browse files Browse the repository at this point in the history
* Add release drafter

* Set dev as default branch until next release
MartinHjelmare authored Mar 12, 2020
1 parent 5e37a65 commit 71b7ef6
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name-template: "$NEXT_PATCH_VERSION 🌈"
tag-template: "$NEXT_PATCH_VERSION"
categories:
- title: "Breaking changes:"
labels:
- "breaking change"
template: |
## Merged pull requests:
$CHANGES
16 changes: 16 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Draft release

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- dev

jobs:
update-release-draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 71b7ef6

Please sign in to comment.