From 07cbeca2f5d49a6718eeb6484948425c00440d1d Mon Sep 17 00:00:00 2001 From: sarthak gupta Date: Thu, 5 Jun 2025 19:23:40 +0530 Subject: [PATCH] chore: update config.json --- .github/workflows/releases.yml | 4 +--- release-please/config.json | 39 +++++++++++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index b726c7c..8c155f1 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -17,12 +17,10 @@ jobs: TAG_NAME: ${{ steps.release.outputs.tag_name }} SHA: ${{ steps.release.outputs.sha }} steps: - - uses: google-github-actions/release-please-action@v3 + - uses: googleapis/release-please-action@v4 id: release with: token: ${{ secrets.botGitHubToken }} - release-type: python - command: manifest config-file: release-please/config.json manifest-file: release-please/manifest.json - uses: actions/checkout@v3 diff --git a/release-please/config.json b/release-please/config.json index b3926ee..754b48a 100644 --- a/release-please/config.json +++ b/release-please/config.json @@ -7,5 +7,42 @@ "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": false } - } + }, + "changelog-sections": [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "chore", + "section": "Miscellaneous", + "hidden": false + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "refactor", + "section": "Refactor", + "hidden": false + }, + { + "type": "test", + "section": "Tests", + "hidden": false + }, + { + "type": "style", + "section": "Style", + "hidden": false + } + ] }