72735cfff8
1. Use [towncrier][1] to generate release notes/CHANGELOG instead of auto-generating it from git commit messages. 2. Move release scripts into a Justfile. 3. Only regenerate the top-level README file when making a release, don't force it to be up to date in between releases. Point 3 helps prevent documentation for unreleased changes from being shown to users on GitHub, which may otherwise be confusing. [1]: https://towncrier.readthedocs.io/en/stable/index.html#
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
{
|
|
extends: [
|
|
"config:best-practices",
|
|
"schedule:monthly",
|
|
// Group updates to linters together in one PR
|
|
"group:linters",
|
|
],
|
|
dependencyDashboard: true,
|
|
"labels": ["dependencies"],
|
|
lockFileMaintenance: {
|
|
enabled: true,
|
|
automerge: true
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^rust-toolchain\\.toml?$"],
|
|
"matchStrings": [
|
|
"channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
|
|
],
|
|
"depNameTemplate": "rust",
|
|
"packageNameTemplate": "rust-lang/rust",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^Justfile$"],
|
|
"matchStrings": [
|
|
// https://regex101.com/r/vOmY6R/1
|
|
// Matching on word boundaries (\b) around start and end ensures we
|
|
// match variations like "towncrier==1.2.3" as well as "pipx run
|
|
// towncrier==1.2.3", adding some future proofness.
|
|
"\".*\\btowncrier==(?<currentValue>.+?)\\b\""
|
|
],
|
|
"depNameTemplate": "towncrier",
|
|
"datasourceTemplate": "pypi"
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
matchCategories: ["rust"],
|
|
minimumReleaseAge: "3 days",
|
|
automerge: true
|
|
},
|
|
],
|
|
ignorePaths: [
|
|
// Auto-generated by cargo-dist (https://opensource.axo.dev/cargo-dist/)
|
|
".github/workflows/release.yml"
|
|
]
|
|
}
|