Skip to content

Commit

Permalink
Setup release-drafter (#29)
Browse files Browse the repository at this point in the history
* Setup release-drafter

https://github.com/release-drafter/release-drafter

* Add name-template and tag-template keys

* Set label to renovate

* Add categories

* Add Titile to template
  • Loading branch information
tomoya authored May 10, 2020
1 parent 52b3c35 commit b506ba7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
template: |
# What's Changed
$CHANGES
categories:
- title: 'New'
label: 'Type: Feature'
- title: 'Bug Fixes'
label: 'Type: Bug'
- title: 'Maintenance'
label: 'Type: Maintenance'
- title: 'Documentation'
label: 'Type: Documentation'
- title: 'Dependency Updates'
label: 'Type: Dependencies'
- title: 'Breaking Change'
label: 'Type: Breaking Change'
12 changes: 12 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release Drafter
on:
push:
branches:
- master
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": ["config:base"],
"rangeStrategy": "pin",
"labels": ["Type: Dependencies"],
"packageRules": [
{
"depTypeList": ["peerDependencies"],
Expand Down

1 comment on commit b506ba7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for storybook-addon-matrix ready!

Built with commit b506ba7

https://https://storybook-addon-matrix-qsryuy7rg.now.sh

Please sign in to comment.