From b91f2bad15302c167ff84f7429c76bef6202b6cd Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 11:12:36 +0900 Subject: [PATCH 01/10] =?UTF-8?q?setup-node@v4=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit node-versionを20に変更 --- .github/workflows/mention-to-chatwork.yml | 4 ++-- .github/workflows/release-latest-tag.yml | 4 ++-- .github/workflows/reviewer.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/mention-to-chatwork.yml b/.github/workflows/mention-to-chatwork.yml index 9f9a5bd..7e5ff76 100644 --- a/.github/workflows/mention-to-chatwork.yml +++ b/.github/workflows/mention-to-chatwork.yml @@ -17,9 +17,9 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" - name: Cache npm uses: actions/cache@v3 diff --git a/.github/workflows/release-latest-tag.yml b/.github/workflows/release-latest-tag.yml index d8eb710..da993ab 100644 --- a/.github/workflows/release-latest-tag.yml +++ b/.github/workflows/release-latest-tag.yml @@ -14,9 +14,9 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" - name: Checkout release run: | git config --local user.email "action@github.com" diff --git a/.github/workflows/reviewer.yml b/.github/workflows/reviewer.yml index 7fa469e..5e49f8c 100644 --- a/.github/workflows/reviewer.yml +++ b/.github/workflows/reviewer.yml @@ -10,9 +10,9 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" - name: Cache npm uses: actions/cache@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7a76d7..f938bef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,9 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: "16" + node-version: "20" - name: Cache npm uses: actions/cache@v3 with: From 4aeb8cb718961be3fbf023bc4fcb5c63b36db3e1 Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 11:23:53 +0900 Subject: [PATCH 02/10] =?UTF-8?q?Owner=E3=82=92chatwork=E3=81=AB=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 6 +++--- src/domain/chatwork.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c909802..7d94425 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Run - uses: shikajiro/actions-mention-to-chatwork@v0 + uses: chatwork/actions-mention-to-chatwork@v0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} api-token: ${{ secrets.CHATWORK_API_TOKEN }} diff --git a/package.json b/package.json index e11f994..d15b666 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,12 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/shikajiro/actions-mention-to-chatwork.git" + "url": "git+https://github.com/chatwork/actions-mention-to-chatwork.git" }, "author": "", "license": "ISC", "bugs": { - "url": "https://github.com/shikajiro/actions-mention-to-chatwork/issues" + "url": "https://github.com/chatwork/actions-mention-to-chatwork/issues" }, - "homepage": "https://github.com/shikajiro/actions-mention-to-chatwork#readme" + "homepage": "https://github.com/chatwork/actions-mention-to-chatwork#readme" } diff --git a/src/domain/chatwork.ts b/src/domain/chatwork.ts index 951027c..968611f 100644 --- a/src/domain/chatwork.ts +++ b/src/domain/chatwork.ts @@ -61,4 +61,4 @@ export const buildChatworkErrorMessage = ( ].join("\n"); }; const openIssueLink = - "https://github.com/shikajiro/actions-mention-to-chatwork/issues/new"; + "https://github.com/chatwork/actions-mention-to-chatwork/issues/new"; From 317607a2de9ef8d382c325835788834a51579508 Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 11:34:18 +0900 Subject: [PATCH 03/10] =?UTF-8?q?node20=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2da046d..9ee6c34 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ inputs: deprecationMessage: "not use." required: false runs: - using: "node16" + using: "node20" main: "dist/index.js" branding: icon: "message-square" From b01d976d8bb7463a73f38dd219a041d9006b119e Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 11:38:51 +0900 Subject: [PATCH 04/10] =?UTF-8?q?coderabbit=E3=81=AE=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .coderabbit.yaml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml deleted file mode 100644 index 9e82aec..0000000 --- a/.coderabbit.yaml +++ /dev/null @@ -1,29 +0,0 @@ -language: "ja" -early_access: false -reviews: - request_changes_workflow: false - high_level_summary: true - poem: true - review_status: true - collapse_walkthrough: false - path_filters: - - "!**/.xml" - path_instructions: - - path: "**/*.js" - instructions: "Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations." - - path: "tests/**/*" - instructions: | - "Assess the unit test code employing the Mocha testing framework. Confirm that: - - The tests adhere to Mocha's established best practices. - - Test descriptions are sufficiently detailed to clarify the purpose of each test." - auto_review: - enabled: true - ignore_title_keywords: - - "WIP" - - "DO NOT MERGE" - drafts: false - base_branches: - - "develop" - - "feat/.*" -chat: - auto_reply: true \ No newline at end of file From 938e4dcf1a451043c98fe4e9312b7a5358634295 Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 12:04:14 +0900 Subject: [PATCH 05/10] =?UTF-8?q?@zeit/ncc=20=E3=81=8Cdeprecated=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7?= =?UTF-8?q?=E3=80=81@vercel/ncc=E3=81=AB=E7=BD=AE=E3=81=8D=E6=8F=9B?= =?UTF-8?q?=E3=81=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 19 +++++++++---------- package.json | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index ea4b993..8b28c26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@types/lodash": "4.14.194", "@typescript-eslint/eslint-plugin": "5.59.0", "@typescript-eslint/parser": "5.59.0", - "@zeit/ncc": "0.22.3", + "@vercel/ncc": "^0.38.1", "eslint": "8.38.0", "jest": "29.5.0", "ts-jest": "29.1.0", @@ -1738,11 +1738,10 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@zeit/ncc": { - "version": "0.22.3", - "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.22.3.tgz", - "integrity": "sha512-jnCLpLXWuw/PAiJiVbLjA8WBC0IJQbFeUwF4I9M+23MvIxTxk5pD4Q8byQBSPmHQjz5aBoA7AKAElQxMpjrCLQ==", - "deprecated": "@zeit/ncc is no longer maintained. Please use @vercel/ncc instead.", + "node_modules/@vercel/ncc": { + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", + "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", "dev": true, "bin": { "ncc": "dist/ncc/cli.js" @@ -6577,10 +6576,10 @@ "eslint-visitor-keys": "^3.3.0" } }, - "@zeit/ncc": { - "version": "0.22.3", - "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.22.3.tgz", - "integrity": "sha512-jnCLpLXWuw/PAiJiVbLjA8WBC0IJQbFeUwF4I9M+23MvIxTxk5pD4Q8byQBSPmHQjz5aBoA7AKAElQxMpjrCLQ==", + "@vercel/ncc": { + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz", + "integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==", "dev": true }, "acorn": { diff --git a/package.json b/package.json index d15b666..fd6f834 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@types/lodash": "4.14.194", "@typescript-eslint/eslint-plugin": "5.59.0", "@typescript-eslint/parser": "5.59.0", - "@zeit/ncc": "0.22.3", + "@vercel/ncc": "^0.38.1", "eslint": "8.38.0", "jest": "29.5.0", "ts-jest": "29.1.0", From 38604b4d3925246d6c50ef3c84dee8e8653a8f5e Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Mon, 27 May 2024 12:40:33 +0900 Subject: [PATCH 06/10] =?UTF-8?q?asdf=E3=81=AEnodejs=E3=82=9220.9.0(LTS)?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index ac59663..feec184 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -nodejs 18.12.1 +nodejs 20.9.0 From 64cdece890b2ca59ca6da972d8cc49206b2e03fb Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Tue, 28 May 2024 17:10:20 +0900 Subject: [PATCH 07/10] =?UTF-8?q?actions/checkout,=20actions/cache?= =?UTF-8?q?=E3=82=92@v4=E3=81=AB=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-latest-tag.yml | 4 ++-- .github/workflows/reviewer.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-latest-tag.yml b/.github/workflows/release-latest-tag.yml index da993ab..e88dcc0 100644 --- a/.github/workflows/release-latest-tag.yml +++ b/.github/workflows/release-latest-tag.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 @@ -24,7 +24,7 @@ jobs: git checkout release git merge origin/main --no-commit --no-ff - name: Cache npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/reviewer.yml b/.github/workflows/reviewer.yml index 5e49f8c..4228e00 100644 --- a/.github/workflows/reviewer.yml +++ b/.github/workflows/reviewer.yml @@ -8,14 +8,14 @@ jobs: notify: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "20" - name: Cache npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f938bef..f04e738 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "20" - name: Cache npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} From 037107b2b9872a1495f3e31f9079c211c66c9e0f Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Tue, 28 May 2024 18:03:48 +0900 Subject: [PATCH 08/10] =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=82=BB=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=81=ABchatwork=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE b/LICENSE index d2cc4f2..cd7c6d7 100644 --- a/LICENSE +++ b/LICENSE @@ -2,6 +2,7 @@ MIT License Copyright (c) 2020 abeyuya Copyright (c) 2023 shikajiro +Copyright (c) 2024 Chatwork Co., Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From dc04df1fd5ee6df4729441122c31e679623a4a52 Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Tue, 28 May 2024 18:17:01 +0900 Subject: [PATCH 09/10] =?UTF-8?q?Bot=E3=81=AE=E3=82=B3=E3=83=9F=E3=83=83?= =?UTF-8?q?=E3=83=88=E3=81=AB=E3=81=AA=E3=82=8B=E3=82=88=E3=81=86=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-latest-tag.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-latest-tag.yml b/.github/workflows/release-latest-tag.yml index e88dcc0..5137bdd 100644 --- a/.github/workflows/release-latest-tag.yml +++ b/.github/workflows/release-latest-tag.yml @@ -19,8 +19,8 @@ jobs: node-version: "20" - name: Checkout release run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" git checkout release git merge origin/main --no-commit --no-ff - name: Cache npm @@ -40,8 +40,4 @@ jobs: git diff-index --quiet HEAD || (git commit -m"update build ${{ github.run_number }}" && git tag latest -f) - name: Push changes run: | - git push \ - "https://${{ github.actor }}:${{ secrets.MY_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" \ - HEAD:release \ - -f \ - --tags + git push origin release -f --tags From 67382bfd14452fd44379c6e2407b746c63123986 Mon Sep 17 00:00:00 2001 From: Michihiro Ikeda Date: Tue, 28 May 2024 18:20:43 +0900 Subject: [PATCH 10/10] =?UTF-8?q?actions/checkout,=20actions/cache?= =?UTF-8?q?=E3=82=92@v4=E3=81=AB=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/mention-to-chatwork.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mention-to-chatwork.yml b/.github/workflows/mention-to-chatwork.yml index 7e5ff76..f9fc152 100644 --- a/.github/workflows/mention-to-chatwork.yml +++ b/.github/workflows/mention-to-chatwork.yml @@ -15,14 +15,14 @@ jobs: mention-to-chatwork: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "20" - name: Cache npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}