Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Add release drafter #31

Merged
merged 1 commit into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/release-draft-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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 are coming soon 😎'
sort-direction: 'ascending'
replacers:
- search: '/(?:and )?@dependabot-preview(?:\[bot\])?,?/g'
replace: ''
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.RELEASE_DRAFTER_TOKEN }}