From 15da0ada28fa5c070ac13e8384d21fcdda001639 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 15:55:22 +0800 Subject: [PATCH 1/7] Make unit test more stable. --- .github/workflows/pr-comment.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr-comment.yml diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml new file mode 100644 index 00000000000..f832256730b --- /dev/null +++ b/.github/workflows/pr-comment.yml @@ -0,0 +1,20 @@ +on: + pull_request: + types: [opened] + +jobs: + thanks-and-hint-to-document: + runs-on: ubuntu-20.04 + name: Say thanks for the PR and hint to document + steps: + - name: comment on the pull request + uses: hasura/comment-progress@v2.3.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + repository: "KomachiSion/nacos" + number: ${{ github.event.number }} + id: thank-you-comment + message: | + Thanks for your this PR. :pray: + Please check again for your PR changes whether contains any usage/api/configuration change such as `Add new API `, `Add new configuration`, `Change default value of configuration`. + If so, please add or update documents in `docs/next/` for repository [nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next) From e0a76cfd02024ba35653ef9dd61aee0d6964b4fc Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 16:00:00 +0800 Subject: [PATCH 2/7] =?UTF-8?q?update=20comment=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-comment.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index f832256730b..84cb165d541 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -1,3 +1,5 @@ +name: "Comment on PR" + on: pull_request: types: [opened] @@ -11,10 +13,15 @@ jobs: uses: hasura/comment-progress@v2.3.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} - repository: "KomachiSion/nacos" + repository: "alibaba/nacos" number: ${{ github.event.number }} id: thank-you-comment + recreate: true message: | Thanks for your this PR. :pray: Please check again for your PR changes whether contains any usage/api/configuration change such as `Add new API `, `Add new configuration`, `Change default value of configuration`. - If so, please add or update documents in `docs/next/` for repository [nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next) + If so, please add or update documents(markdown type) in `docs/next/` for repository [nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next) + ---- + 感谢您提交的PR。 :pray: + 请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:`新增API`、`新增配置参数`、`修改默认配置`等操作。 + 如果是,请确保在提交之前,在仓库[nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next)中的`docs/next/`目录下添加或更新文档(markdown格式)。 From e45d4abd40055315ac7d5d209f9a8fc58b2cb8e8 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 16:00:16 +0800 Subject: [PATCH 3/7] =?UTF-8?q?update=20comment=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 84cb165d541..e3c81dd9fba 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -13,7 +13,7 @@ jobs: uses: hasura/comment-progress@v2.3.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} - repository: "alibaba/nacos" + repository: "KomachiSion/nacos" number: ${{ github.event.number }} id: thank-you-comment recreate: true From 40a07fe255ac3be2ca7ca3ac3f697fe0b1278fa0 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 16:03:21 +0800 Subject: [PATCH 4/7] change repo to alibaba/nacos. --- .github/workflows/pr-comment.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index e3c81dd9fba..89bb318d83e 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -13,7 +13,7 @@ jobs: uses: hasura/comment-progress@v2.3.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} - repository: "KomachiSion/nacos" + repository: "alibaba/nacos" number: ${{ github.event.number }} id: thank-you-comment recreate: true @@ -21,7 +21,9 @@ jobs: Thanks for your this PR. :pray: Please check again for your PR changes whether contains any usage/api/configuration change such as `Add new API `, `Add new configuration`, `Change default value of configuration`. If so, please add or update documents(markdown type) in `docs/next/` for repository [nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next) - ---- + + --- + 感谢您提交的PR。 :pray: 请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:`新增API`、`新增配置参数`、`修改默认配置`等操作。 如果是,请确保在提交之前,在仓库[nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io/tree/develop-astro-nacos/src/content/docs/next)中的`docs/next/`目录下添加或更新文档(markdown格式)。 From 8d252fd7189e75b710ba4ca180f5345e5213db65 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 16:35:28 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=AF=84=E8=AE=BAPR=E7=9A=84=E6=9D=83=E9=99=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-comment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 89bb318d83e..3cb08cb2458 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -7,6 +7,8 @@ on: jobs: thanks-and-hint-to-document: runs-on: ubuntu-20.04 + permissions: + pull-requests: write name: Say thanks for the PR and hint to document steps: - name: comment on the pull request From 6891308af8f7016c5baff39b7dce28dd25a87403 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 16:42:59 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=AF=84=E8=AE=BAPR=E7=9A=84=E6=9D=83=E9=99=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-comment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 3cb08cb2458..6119bc5a0a9 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -8,6 +8,7 @@ jobs: thanks-and-hint-to-document: runs-on: ubuntu-20.04 permissions: + issues: write pull-requests: write name: Say thanks for the PR and hint to document steps: From 783e7d412d47526355180b5f273041e47fd446b7 Mon Sep 17 00:00:00 2001 From: KomachiSion Date: Mon, 14 Oct 2024 17:15:11 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=AF=84=E8=AE=BAPR=E7=9A=84=E6=9D=83=E9=99=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-comment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 6119bc5a0a9..b7e7f2927cf 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -8,7 +8,6 @@ jobs: thanks-and-hint-to-document: runs-on: ubuntu-20.04 permissions: - issues: write pull-requests: write name: Say thanks for the PR and hint to document steps: @@ -18,7 +17,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} repository: "alibaba/nacos" number: ${{ github.event.number }} - id: thank-you-comment + id: thanks-and-hint-to-document recreate: true message: | Thanks for your this PR. :pray: