From 904556a929c499fab8438bd6e3a9bf53c4add9c9 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Fri, 9 Aug 2024 16:35:25 +0700 Subject: [PATCH 01/13] add release template --- .github/release-drafter.yml | 40 ++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 41 +++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000000..64a1f813417 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,40 @@ +name-template: 'v$RESOLVED_VERSION ๐Ÿงช' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '๐Ÿš€ Features' + labels: + - 'feature' + - 'enhancement' + - title: '๐Ÿ› Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '๐Ÿ“ฆ Dependencies' + label: 'dependencies' + - title: โš ๏ธ Changes + labels: + - deprecated + - title: ๐Ÿ“„ Documentation + labels: + - docs + - documentation +exclude-labels: + - 'skip-changelog' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## Changes + + $CHANGES \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000000..5f147464471 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,41 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - master + # pull_request event is required only for autolabeler + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + # pull_request_target event is required for autolabeler to support PRs from forks + # pull_request_target: + # types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write + runs-on: ubuntu-latest + steps: + # (Optional) GitHub Enterprise requires GHE_HOST variable set + #- name: Set GHE_HOST + # run: | + # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV + + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v6 + # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml + # with: + # config-name: my-config.yml + # disable-autolabeler: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 2ef146b31f5c8a35fbf74abffb89432da9c1aae3 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 09:33:39 +0700 Subject: [PATCH 02/13] rename --- .github/workflows/{release-drafter.yml => change-log.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{release-drafter.yml => change-log.yml} (98%) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/change-log.yml similarity index 98% rename from .github/workflows/release-drafter.yml rename to .github/workflows/change-log.yml index 5f147464471..fc6494db69a 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/change-log.yml @@ -1,4 +1,4 @@ -name: Release Drafter +name: Upcomming changes on: push: From 7905aa8f6ebf4b3225b7bc1b25e16707af16c290 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 09:46:58 +0700 Subject: [PATCH 03/13] Feature/ivyportal 16892 hide case creator info --- .github/workflows/change-log.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/change-log.yml b/.github/workflows/change-log.yml index fc6494db69a..7acf6003df4 100644 --- a/.github/workflows/change-log.yml +++ b/.github/workflows/change-log.yml @@ -1,4 +1,4 @@ -name: Upcomming changes +name: Upcomming changes on: push: From 457cb1f75a5efd7a7484eaba664fea4994eba470 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 10:05:58 +0700 Subject: [PATCH 04/13] feature: add release drafter --- .github/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 64a1f813417..914ac53b21c 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -35,6 +35,6 @@ version-resolver: - 'patch' default: patch template: | - ## Changes + ## Changes ne $CHANGES \ No newline at end of file From 4402f580fd8581e13bbe337d787f341eb354bacc Mon Sep 17 00:00:00 2001 From: Loc Nguyen <121596218+ntloc-axonivy@users.noreply.github.com> Date: Mon, 12 Aug 2024 10:06:56 +0700 Subject: [PATCH 05/13] feature: add release drafter (#1) --- .github/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 64a1f813417..914ac53b21c 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -35,6 +35,6 @@ version-resolver: - 'patch' default: patch template: | - ## Changes + ## Changes ne $CHANGES \ No newline at end of file From 7f616b3ccff43fff8e07d14b0b0e087350d99466 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 10:38:42 +0700 Subject: [PATCH 06/13] Change release drafter --- .github/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 914ac53b21c..f188e72ef88 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -21,7 +21,7 @@ categories: - documentation exclude-labels: - 'skip-changelog' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-template: '- $TITLE by @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: major: From 0033f0910163f8aa234e2ab8334b68000511cda9 Mon Sep 17 00:00:00 2001 From: Loc Nguyen <121596218+ntloc-axonivy@users.noreply.github.com> Date: Mon, 12 Aug 2024 10:40:02 +0700 Subject: [PATCH 07/13] feature/IVYPORTAL-17235-Component-DocumentTable-not-available-11 (#2) * Change release drafter --- .github/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 914ac53b21c..f188e72ef88 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -21,7 +21,7 @@ categories: - documentation exclude-labels: - 'skip-changelog' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-template: '- $TITLE by @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: major: From f3c5abf9c321474fab5346d8ae817da2b3e59f37 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 11:54:58 +0700 Subject: [PATCH 08/13] add_release_drafter - Update template --- .github/release-drafter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index f188e72ef88..29fdbe5838d 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,5 @@ -name-template: 'v$RESOLVED_VERSION ๐Ÿงช' -tag-template: 'v$RESOLVED_VERSION' +name-template: '$RESOLVED_VERSION ๐Ÿงช' +tag-template: '$RESOLVED_VERSION' categories: - title: '๐Ÿš€ Features' labels: @@ -21,7 +21,7 @@ categories: - documentation exclude-labels: - 'skip-changelog' -change-template: '- $TITLE by @$AUTHOR (#$NUMBER)' +change-template: '- $TITLE (#$NUMBER) by @$AUTHOR' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: major: From 9f0ab6531ea81518e3f916d35d70a3c47df5ffc1 Mon Sep 17 00:00:00 2001 From: Loc Nguyen <121596218+ntloc-axonivy@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:56:32 +0700 Subject: [PATCH 09/13] bug: Update release drafter (#3) * feature: add release drafter * Change release drafter * add_release_drafter - Update template --- .github/release-drafter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index f188e72ef88..29fdbe5838d 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,5 @@ -name-template: 'v$RESOLVED_VERSION ๐Ÿงช' -tag-template: 'v$RESOLVED_VERSION' +name-template: '$RESOLVED_VERSION ๐Ÿงช' +tag-template: '$RESOLVED_VERSION' categories: - title: '๐Ÿš€ Features' labels: @@ -21,7 +21,7 @@ categories: - documentation exclude-labels: - 'skip-changelog' -change-template: '- $TITLE by @$AUTHOR (#$NUMBER)' +change-template: '- $TITLE (#$NUMBER) by @$AUTHOR' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: major: From 0557f6b59922dd48e6efe1f8c8cc216b038eee93 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 11:59:36 +0700 Subject: [PATCH 10/13] bug/fix-linh-tinh - Fix bug drafter --- .github/release-drafter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 29fdbe5838d..4c24fade4c3 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -10,6 +10,7 @@ categories: - 'fix' - 'bugfix' - 'bug' + - 'fix bug' - title: '๐Ÿ“ฆ Dependencies' label: 'dependencies' - title: โš ๏ธ Changes From 1c7d5e7098306e7afbcc4887356a358f03f901ef Mon Sep 17 00:00:00 2001 From: Loc Nguyen <121596218+ntloc-axonivy@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:00:30 +0700 Subject: [PATCH 11/13] Fix bug drafter not nice (#4) * bug/fix-linh-tinh - Fix bug drafter --- .github/release-drafter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 29fdbe5838d..4c24fade4c3 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -10,6 +10,7 @@ categories: - 'fix' - 'bugfix' - 'bug' + - 'fix bug' - title: '๐Ÿ“ฆ Dependencies' label: 'dependencies' - title: โš ๏ธ Changes From 5dd3bd5d0f0536de532f06f92954685217af5983 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 13:51:14 +0700 Subject: [PATCH 12/13] bug/fix-linh-tinh - add autolabler --- .github/release-drafter.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 4c24fade4c3..6943eace402 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -20,6 +20,22 @@ categories: labels: - docs - documentation +autolabeler: + - label: 'chore' + files: + - '*.md' + branch: + - '/document{0,1}\/.+/' + - label: 'bug' + branch: + - '/fix\/.+/' + title: + - '/fix/i' + - label: 'enhancement' + branch: + - '/feature\/.+/' + body: + - '/IVYPORTAL-[0-9]{1,4}/' exclude-labels: - 'skip-changelog' change-template: '- $TITLE (#$NUMBER) by @$AUTHOR' From a70842af3863eee42e94db56ab83d89fd8bbf684 Mon Sep 17 00:00:00 2001 From: Loc Nguyen Date: Mon, 12 Aug 2024 14:02:06 +0700 Subject: [PATCH 13/13] Update docs --- .../source/portal-user-guide/admin-settings/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/portal-guide/source/portal-user-guide/admin-settings/index.rst b/Documentation/portal-guide/source/portal-user-guide/admin-settings/index.rst index 70fb67086be..aac3e1e8fe7 100644 --- a/Documentation/portal-guide/source/portal-user-guide/admin-settings/index.rst +++ b/Documentation/portal-guide/source/portal-user-guide/admin-settings/index.rst @@ -6,7 +6,7 @@ Admin Settings .. hint:: Only users who have granted the role ``AXONIVY_PORTAL_ADMIN`` can see and access the :guilabel:`Admin settings` user menu item. They can update Portal settings, - as well as define, show and hide the announcement. + as well as define, show and hide the announcement. Select the :guilabel:`Admin settings` user menu item.