build: configure release-plz
This commit is contained in:
parent
327a86bd6c
commit
5f4dbc3100
4 changed files with 29 additions and 12 deletions
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
|
@ -6,8 +6,8 @@ updates:
|
|||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
commit-message:
|
||||
prefix: "chore"
|
||||
prefix-development: "test"
|
||||
prefix: "chore(deps)"
|
||||
prefix-development: "test(deps)"
|
||||
include: "scope"
|
||||
- package-ecosystem: "github-actions" # See documentation for possible values
|
||||
directory: "/" # Location of package manifests
|
||||
|
|
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
@ -268,14 +268,6 @@ jobs:
|
|||
|
||||
release-plz:
|
||||
name: Release-plz
|
||||
needs:
|
||||
- build_and_test
|
||||
- clippy
|
||||
- check_fmt_and_docs
|
||||
- fuzz_read
|
||||
- fuzz_read_with_no_features
|
||||
- fuzz_write
|
||||
- fuzz_write_with_no_features
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
|
@ -65,7 +65,7 @@ commit_parsers = [
|
|||
{ message = "^test", skip = true },
|
||||
{ message = "^build", skip = true },
|
||||
{ message = "^ci", skip = true },
|
||||
{ message = "^chore\\(release\\): prepare for", skip = true },
|
||||
{ message = "^chore\\(release\\)", skip = true },
|
||||
{ message = "^chore\\(deps.*\\)", skip = true },
|
||||
{ message = "^chore\\(pr\\)", skip = true },
|
||||
{ message = "^chore\\(pull\\)", skip = true },
|
||||
|
@ -74,7 +74,7 @@ commit_parsers = [
|
|||
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
|
||||
]
|
||||
# protect breaking changes from being skipped due to matching a skipping commit_parser
|
||||
protect_breaking_commits = false
|
||||
protect_breaking_commits = true
|
||||
# filter out the commits that are not matched by commit parsers
|
||||
filter_commits = false
|
||||
# regex for matching git tags
|
||||
|
|
25
release-plz.toml
Normal file
25
release-plz.toml
Normal file
|
@ -0,0 +1,25 @@
|
|||
[workspace]
|
||||
dependencies_update = true # update dependencies with `cargo update`
|
||||
pr_labels = ["release"] # add the `release` label to the release Pull Request
|
||||
release_commits = "^(feat|fix|perf|refactor):" # prepare release only if at least one commit matches a regex
|
||||
git_release_type = "auto"
|
||||
|
||||
[changelog]
|
||||
protect_breaking_commits = true
|
||||
commit_parsers = [
|
||||
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
|
||||
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
|
||||
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
|
||||
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
|
||||
{ message = "^style", skip = true },
|
||||
{ message = "^test", skip = true },
|
||||
{ message = "^build", skip = true },
|
||||
{ message = "^ci", skip = true },
|
||||
{ message = "^chore\\(release\\)", skip = true },
|
||||
{ message = "^chore\\(deps.*\\)", skip = true },
|
||||
{ message = "^chore\\(pr\\)", skip = true },
|
||||
{ message = "^chore\\(pull\\)", skip = true },
|
||||
{ message = "^chore", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
|
||||
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
|
||||
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
|
||||
]
|
Loading…
Add table
Reference in a new issue