From 5df0ebfe003fcbc9d44423727cd263dd4eac5e42 Mon Sep 17 00:00:00 2001 From: Alexey Shalaev <75322386+AlexeyShalaev@users.noreply.github.com> Date: Sun, 6 Sep 2026 10:27:28 +0300 Subject: [PATCH] ci: keep docs commits out of releases release-please-action@v5 treats docs: as releasable and cut a patch release for a SECURITY.md change. Spell the changelog sections out: feat/fix/perf/revert make a release; docs, refactor, test, build, ci, chore and style are hidden and do not. --- template/release-please-config.json.jinja | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/template/release-please-config.json.jinja b/template/release-please-config.json.jinja index 23a8cc0..5e083ed 100644 --- a/template/release-please-config.json.jinja +++ b/template/release-please-config.json.jinja @@ -1,5 +1,18 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "changelog-sections": [ + { "type": "feat", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "perf", "section": "Performance Improvements" }, + { "type": "revert", "section": "Reverts" }, + { "type": "docs", "section": "Documentation", "hidden": true }, + { "type": "refactor", "section": "Code Refactoring", "hidden": true }, + { "type": "test", "section": "Tests", "hidden": true }, + { "type": "build", "section": "Build System", "hidden": true }, + { "type": "ci", "section": "Continuous Integration", "hidden": true }, + { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, + { "type": "style", "section": "Styles", "hidden": true } + ], "packages": { ".": { "release-type": "python",