From 34f498bd35f9c87e06dbe5b77a5253b80a05d014 Mon Sep 17 00:00:00 2001 From: MarkG Date: Tue, 14 Jan 2025 09:48:31 +0700 Subject: [PATCH] [#557] Improve naming --- .../configs/changelog-config.json | 65 ++++++++++--------- ...release_pull_request_and_bump_version.yml} | 6 +- 2 files changed, 37 insertions(+), 34 deletions(-) rename .github/project_workflows/{create_release_pull_request.yml => create_release_pull_request_and_bump_version.yml} (94%) diff --git a/.github/project_workflows/configs/changelog-config.json b/.github/project_workflows/configs/changelog-config.json index 179678d8..a7ce571d 100644 --- a/.github/project_workflows/configs/changelog-config.json +++ b/.github/project_workflows/configs/changelog-config.json @@ -1,32 +1,35 @@ { - "categories": [ - { - "title": "## โœจ Features", - "labels": [ - "type: feature" - ] - }, - { - "title": "## ๐Ÿ› Bug fixes", - "labels": [ - "type: bug" - ] - }, - { - "title": "## ๐Ÿงน Chores", - "labels": [ - "type: chore" - ] - }, - { - "title": "## Others", - "exclude_labels": [ - "type: feature", - "type: bug", - "type: chore", - "type: release" - ] - } - ], - "max_pull_requests": 200 - } + "categories": [ + { + "title": "## โœจ Features", + "labels": [ + "type : feature" + ], + "empty_content": "N/A" + }, + { + "title": "## ๐Ÿ› Bug fixes", + "labels": [ + "type : bug" + ], + "empty_content": "N/A" + }, + { + "title": "## ๐Ÿงน Chores", + "labels": [ + "type : chore" + ], + "empty_content": "N/A" + }, + { + "title": "## Others", + "exclude_labels": [ + "type : feature", + "type : bug", + "type : chore", + "type : release" + ] + } + ], + "max_pull_requests": 200 +} \ No newline at end of file diff --git a/.github/project_workflows/create_release_pull_request.yml b/.github/project_workflows/create_release_pull_request_and_bump_version.yml similarity index 94% rename from .github/project_workflows/create_release_pull_request.yml rename to .github/project_workflows/create_release_pull_request_and_bump_version.yml index a7a1fe42..805d1c32 100644 --- a/.github/project_workflows/create_release_pull_request.yml +++ b/.github/project_workflows/create_release_pull_request_and_bump_version.yml @@ -1,4 +1,4 @@ -name: Create Release Pull Request +name: Create the Release pull request and Bump the next version on: workflow_dispatch: @@ -31,11 +31,11 @@ jobs: - uses: nimblehq/github-actions-workflows/create_release_pull_request@0.1.10 with: release_version: ${{ env.RELEASE_VERSION }} - changelog_configuration: ".github/workflows/config/changelog-config.json" + changelog_configuration: ".github/workflows/configs/changelog-config.json" assignee: bot-nimble create_bump_version_pull_request: - name: Create Bump Version Pull Request + name: Bump Version Pull Request runs-on: macos-latest timeout-minutes: 30 permissions: