-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add Release Drafter config (#243)
## Motivation Add Release Drafter config.
- Loading branch information
1 parent
f333b6c
commit 3c0fad1
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name-template: "v$RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
categories: | ||
- title: ⚠️ Breaking Changes | ||
labels: | ||
- breaking-change | ||
- title: 🚀 Features | ||
labels: | ||
- enhancement | ||
- title: 💻 Fixed Vulnerabilities | ||
labels: | ||
- security | ||
- title: 🐞 Bug Fixes | ||
labels: | ||
- bug | ||
- title: 🧰 Maintenance | ||
collapse-after: 3 | ||
labels: | ||
- chore | ||
- infrastructure | ||
- title: 🤖 Dependency Updates | ||
collapse-after: 3 | ||
labels: | ||
- dependencies | ||
change-template: "- $TITLE (#$NUMBER) @$AUTHOR" | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: | ||
- major | ||
minor: | ||
labels: | ||
- minor | ||
patch: | ||
labels: | ||
- patch | ||
default: patch | ||
autolabeler: | ||
# Pull requests scope. | ||
- label: enhancement | ||
title: | ||
- "/^feat:/i" | ||
- label: chore | ||
title: | ||
- "/^chore:/i" | ||
- label: infrastructure | ||
title: | ||
- "/^infra:/i" | ||
- label: security | ||
title: | ||
- "/^sec:/i" | ||
- label: bug | ||
title: | ||
- "/^fix:/i" | ||
- label: documentation | ||
title: | ||
- "/^doc:/i" | ||
- label: breaking-change | ||
body: | ||
- '/^## Breaking Changes/im' | ||
- label: release-notes | ||
body: | ||
- '/^## Release Notes/im' | ||
# Version labels. | ||
- label: minor | ||
title: | ||
- "/^feat:/i" | ||
- label: patch | ||
title: | ||
- "/^fix:/i" | ||
- "/^sec:/i" | ||
- "/^chore:/i" | ||
branch: | ||
- '/^renovate_/' | ||
# Languages detection. | ||
- label: go | ||
files: | ||
- '*.go' | ||
- 'go.mod' | ||
- 'go.sum' | ||
- label: python | ||
files: | ||
- '*.py' | ||
- label: javascript | ||
files: | ||
- '*.js' | ||
replacers: | ||
# Remove unlabeled or uncategorized PRs. | ||
- search: "/# What's Changed.*?\\n## /s" | ||
replace: "# What's Changed\n\n## " | ||
template: | | ||
# What's Changed | ||
$CHANGES |