mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Add release drafter files
This commit is contained in:
parent
5efe67f375
commit
6a128d4ec7
27
.github/release-draft-template.yml
vendored
Normal file
27
.github/release-draft-template.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name-template: 'Milli 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: ''
|
||||||
|
- search: '/(?:and )?@bors(?:\[bot\])?,?/g'
|
||||||
|
replace: ''
|
||||||
|
- search: '/(?:and )?@meili-bot,?/g'
|
||||||
|
replace: ''
|
16
.github/workflows/release-drafter.yml
vendored
Normal file
16
.github/workflows/release-drafter.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
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 }}
|
Loading…
Reference in New Issue
Block a user