Skip to content
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
15 changes: 15 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
extends: ["config:best-practices"],
rangeStrategy: "pin",
dependencyDashboard: true,
// Dependency updates are committed as `build(deps): …`, which release-please lists under "Dependencies" instead of
// "Bug Fixes". config:best-practices types every update `chore` and the runtime dependencies `fix` through package
// rules, which a top-level semanticCommitType cannot override: the rules at the end of packageRules replace `fix`
// with `build`, and the other updates stay `chore`, outside the changelog and without a release of their own.
semanticCommits: "enabled",
semanticCommitScope: "deps",
// Version policy, as in Muster's repository: routine updates arrive once a week, grouped per ecosystem, and merge
// themselves when every required check passes. Major updates wait in the Dependency Dashboard until a maintainer
// ticks them. Security fixes are not held by the schedule.
Expand Down Expand Up @@ -67,6 +73,15 @@
matchPackageNames: ["datamodel-code-generator"],
prBodyNotes: "Regenerate src/muster_bridge/models.py with `make generate` and commit it.",
},
{
matchManagers: ["pep621"],
matchDepTypes: ["project.dependencies", "project.optional-dependencies"],
semanticCommitType: "build",
},
{
matchJsonata: ["isLockfileUpdate = true"],
semanticCommitType: "chore",
},
],
lockFileMaintenance: {
enabled: true,
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ analyse the code and the repository's practices.
- Branch from `master`; a story's branch is `s-NNN-<slug>`, with the slug of its story file name.
- Commit messages are [conventional commits](https://www.conventionalcommits.org/) on one line:
`<type>(<scope>): <description>`, with `feat`, `fix`, `docs`, `build`, `ci`, `test`, `refactor`, `perf` or `chore`.
Say what changed; leave out story and phase IDs.
Say what changed; leave out story and phase IDs. `build` means a dependency change, the type Renovate uses: it shows
under "Dependencies" in the changelog and starts a release. Work on the build system or the tooling uses `chore` or
`ci`.
- No AI attribution: no `Co-Authored-By` trailers for tools and no "Generated with" lines, in commits or pull requests.
- Pull requests are squash-merged, so the title becomes the commit message, and release-please writes the changelog
from it.
Expand Down
53 changes: 53 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"include-v-in-tag": true,
"include-component-in-tag": false,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"initial-version": "0.1.0",
"changelog-path": "CHANGELOG.md",
"extra-files": [
Expand All @@ -15,6 +16,58 @@
"path": "uv.lock",
"jsonpath": "$.package[?(@.name.value=='muster-bridge')].version"
}
],
"changelog-sections": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "build",
"section": "Dependencies"
},
{
"type": "docs",
"section": "Documentation",
"hidden": true
},
{
"type": "chore",
"section": "Miscellaneous Chores",
"hidden": true
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": true
},
{
"type": "test",
"section": "Tests",
"hidden": true
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": true
},
{
"type": "style",
"section": "Styles",
"hidden": true
}
]
}
}
Expand Down
Loading