Skip to content

Commit 5c29959

Browse files
ci: keep docs commits out of releases (#4)
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.
1 parent 61aa8d8 commit 5c29959

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

template/release-please-config.json.jinja

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"changelog-sections": [
4+
{ "type": "feat", "section": "Features" },
5+
{ "type": "fix", "section": "Bug Fixes" },
6+
{ "type": "perf", "section": "Performance Improvements" },
7+
{ "type": "revert", "section": "Reverts" },
8+
{ "type": "docs", "section": "Documentation", "hidden": true },
9+
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
10+
{ "type": "test", "section": "Tests", "hidden": true },
11+
{ "type": "build", "section": "Build System", "hidden": true },
12+
{ "type": "ci", "section": "Continuous Integration", "hidden": true },
13+
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
14+
{ "type": "style", "section": "Styles", "hidden": true }
15+
],
316
"packages": {
417
".": {
518
"release-type": "python",

0 commit comments

Comments
 (0)