- Decouple draft-promotion.yml from automated Tests workflow_run triggers, making promotion draft creation manual via workflow_dispatch to prevent GitHub from auto-chaining active experimental feature PRs into a stack targeting main. - Enforce and document the mandatory Promotion Merge Policy across reconcile_promotion_pr.py, validate_release_candidate.py, and draft-promotion.yml step summary: promotions must use a merge commit (--no-ff) or fast-forward, never squash-merge into main, preserving conventional commit history and unbroken git ancestry. - Unhide refactor commits in release-please-config.json so architectural refactorings are tracked under Changed in CHANGELOG.md. - Update unit tests in test_reconcile_promotion_pr.py and test_validate_release_candidate.py for the new policy invariants. Signed-off-by: trvon <me@trevon.dev>
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
"release-type": "simple",
|
|
"bump-minor-pre-major": true,
|
|
"include-component-in-tag": false,
|
|
"include-v-in-tag": true,
|
|
"draft": true,
|
|
"force-tag-creation": true,
|
|
"changelog-sections": [
|
|
{ "type": "feat", "section": "Added" },
|
|
{ "type": "fix", "section": "Fixed" },
|
|
{ "type": "security", "section": "Security" },
|
|
{ "type": "perf", "section": "Performance" },
|
|
{ "type": "docs", "section": "Documentation", "hidden": true },
|
|
{ "type": "chore", "section": "Maintenance", "hidden": true },
|
|
{ "type": "ci", "section": "CI/CD", "hidden": true },
|
|
{ "type": "test", "section": "Testing", "hidden": true },
|
|
{ "type": "refactor", "section": "Changed" },
|
|
{ "type": "build", "section": "Build", "hidden": true }
|
|
],
|
|
"packages": {
|
|
".": {
|
|
"package-name": "yams",
|
|
"include-component-in-tag": false,
|
|
"changelog-path": "CHANGELOG.md",
|
|
"extra-files": [
|
|
{
|
|
"type": "generic",
|
|
"path": "meson.build"
|
|
},
|
|
{
|
|
"type": "generic",
|
|
"path": "conanfile.py"
|
|
},
|
|
{
|
|
"type": "generic",
|
|
"path": "CITATION.cff"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|