Skip to content

Commit

Permalink
[internal] Enable release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Mar 15, 2022
1 parent cbb6d18 commit 1155ed6
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: '🚨 Significant changes'
labels:
- 'Major change'
- 'Minor change'
- title: '🚀 Enhancements'
label: 'Enhancement'
- title: '🐛 Bug Fixes'
label: 'Bug'
include-labels:
- 'Major change'
- 'Minor change'
- 'Enhancement'
- 'Bug'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'Major change'
minor:
labels:
- 'Minor change'
default: patch
template: |
## What's new since $PREVIOUS_TAG
$CHANGES
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1155ed6

Please sign in to comment.