Skip to content

Commit

Permalink
Add release drafter (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza authored Jun 8, 2020
1 parent 6e4dd81 commit 1fd65c8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/release-draft-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
exclude-labels:
- 'skip-changelog'
version-resolver:
minor:
labels:
- 'breaking-change'
default: patch
categories:
- title: 'Breaking changes'
label: 'breaking-change'
template: |
## Changes
$CHANGES
Thanks again to $CONTRIBUTORS! 🎉
no-changes-template: 'Changes will arrive soon 😎'
sort-direction: 'ascending'
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
- bump-meilisearch-v*

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-draft-template.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ geckodriver.log

configs/public
configs/private

# config file
config.json
docs-scraper.config.json

0 comments on commit 1fd65c8

Please sign in to comment.