From d3f867904c671b5fdcf5dfde939e17667139213c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Sun, 8 Jun 2025 21:29:16 +0900 Subject: [PATCH 01/11] feat(breaking-pr-check): Refactored to breaking-pr-check and deleted index.js file --- .github/actions/breaking-pr-check/action.yml | 54 ++++++++++++- .github/actions/breaking-pr-check/index.js | 78 ------------------- .../workflows/semantic-breaking-change-pr.yml | 1 - 3 files changed, 52 insertions(+), 81 deletions(-) delete mode 100644 .github/actions/breaking-pr-check/index.js diff --git a/.github/actions/breaking-pr-check/action.yml b/.github/actions/breaking-pr-check/action.yml index f54443a4f433..d19fa72df98d 100644 --- a/.github/actions/breaking-pr-check/action.yml +++ b/.github/actions/breaking-pr-check/action.yml @@ -2,5 +2,55 @@ name: Validate Breaking Change PR description: Validate breaking change PR title and description runs: - using: node20 - main: index.js + using: 'composite' + steps: + - name: Check PR title and body using github-script + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const pr = context.payload.pull_request; + if (!pr) { + throw new Error("This action can only be run on pull_request events."); + } + + const owner = pr.base.repo.owner.login; + const repo = pr.base.repo.name; + const pull_number = pr.number; + + const { data: pullRequest } = await github.rest.pulls.get({ + owner, + repo, + pull_number, + }); + + function checkTitle(title) { + if (/^[a-z]+(\([a-z-]+\))?!: /.test(title)) { + throw new Error( + `Do not use exclamation mark ('!') to indicate breaking change in the PR Title.`, + ); + } + } + + function checkDescription(body, labels) { + if (!labels.some(label => label.name === 'breaking change')) { + return; + } + + const [firstLine, secondLine] = body.split(/\r?\n/); + + if (!firstLine || !/^BREAKING CHANGE:/.test(firstLine)) { + throw new Error( + `Breaking change PR body should start with "BREAKING CHANGE:". See https://typescript-eslint.io/maintenance/releases#2-merging-breaking-changes.`, + ); + } + + if (!secondLine) { + throw new Error( + `The description of breaking change is missing. See https://typescript-eslint.io/maintenance/releases#2-merging-breaking-changes.`, + ); + } + } + + checkTitle(pullRequest.title); + checkDescription(pullRequest.body ?? '', pullRequest.labels); diff --git a/.github/actions/breaking-pr-check/index.js b/.github/actions/breaking-pr-check/index.js deleted file mode 100644 index 2aa900456a9c..000000000000 --- a/.github/actions/breaking-pr-check/index.js +++ /dev/null @@ -1,78 +0,0 @@ -// @ts-check -/* eslint-disable jsdoc/no-types, @typescript-eslint/no-require-imports */ - -const core = require('@actions/core'); -const github = require('@actions/github'); - -async function getPullRequest() { - const token = process.env.GITHUB_TOKEN; - if (!token) { - throw new Error( - 'The GITHUB_TOKEN environment variable is required to run this action.', - ); - } - const client = github.getOctokit(token); - - const pr = github.context.payload.pull_request; - if (!pr) { - throw new Error( - "This action can only be invoked in `pull_request_target` or `pull_request` events. Otherwise the pull request can't be inferred.", - ); - } - - const owner = pr.base.user.login; - const repo = pr.base.repo.name; - - const { data } = await client.rest.pulls.get({ - owner, - pull_number: pr.number, - repo, - }); - - return data; -} - -/** - * @param {string} title The PR title to check - */ -function checkTitle(title) { - if (/^[a-z]+(\([a-z-]+\))?!: /.test(title)) { - throw new Error( - `Do not use exclamation mark ('!') to indicate breaking change in the PR Title.`, - ); - } -} - -/** - * @param {string} body The body of the PR - * @param {any[]} labels The labels applied to the PR - */ -function checkDescription(body, labels) { - if (!labels.some(label => label.name === 'breaking change')) { - return; - } - const [firstLine, secondLine] = body.split(/\r?\n/); - - if (!firstLine || !/^BREAKING CHANGE:/.test(firstLine)) { - throw new Error( - `Breaking change PR body should start with "BREAKING CHANGE:". See https://typescript-eslint.io/maintenance/releases#2-merging-breaking-changes.`, - ); - } - if (!secondLine) { - throw new Error( - `The description of breaking change is missing. See https://typescript-eslint.io/maintenance/releases#2-merging-breaking-changes.`, - ); - } -} - -async function run() { - const pullRequest = await getPullRequest(); - try { - checkTitle(pullRequest.title); - checkDescription(pullRequest.body ?? '', pullRequest.labels); - } catch (/** @type {any} */ e) { - core.setFailed(e.message); - } -} - -run(); diff --git a/.github/workflows/semantic-breaking-change-pr.yml b/.github/workflows/semantic-breaking-change-pr.yml index dcae58270de1..46d4627b3fdc 100644 --- a/.github/workflows/semantic-breaking-change-pr.yml +++ b/.github/workflows/semantic-breaking-change-pr.yml @@ -15,7 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/prepare-install - uses: ./.github/actions/breaking-pr-check env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 1897bf9fe77f743c2c9bb94b76c9fbe4978ef78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Sun, 8 Jun 2025 21:33:38 +0900 Subject: [PATCH 02/11] feat: change pr code --- .github/actions/breaking-pr-check/action.yml | 41 +++++++++++++------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/.github/actions/breaking-pr-check/action.yml b/.github/actions/breaking-pr-check/action.yml index d19fa72df98d..60f7f4673209 100644 --- a/.github/actions/breaking-pr-check/action.yml +++ b/.github/actions/breaking-pr-check/action.yml @@ -9,20 +9,24 @@ runs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - const pr = context.payload.pull_request; - if (!pr) { - throw new Error("This action can only be run on pull_request events."); - } + async function getPullRequest() { + const pr = context.payload.pull_request; + if (!pr) { + throw new Error("This action can only be run on pull_request events."); + } - const owner = pr.base.repo.owner.login; - const repo = pr.base.repo.name; - const pull_number = pr.number; + const owner = pr.base.repo.owner.login; + const repo = pr.base.repo.name; + const pull_number = pr.number; - const { data: pullRequest } = await github.rest.pulls.get({ - owner, - repo, - pull_number, - }); + const { data } = await github.rest.pulls.get({ + owner, + repo, + pull_number, + }); + + return data; + } function checkTitle(title) { if (/^[a-z]+(\([a-z-]+\))?!: /.test(title)) { @@ -52,5 +56,14 @@ runs: } } - checkTitle(pullRequest.title); - checkDescription(pullRequest.body ?? '', pullRequest.labels); + async function run() { + const pr = await getPullRequest(); + checkTitle(pr.title); + checkDescription(pr.body ?? '', pr.labels); + } + + try { + await run(); + } catch (e) { + throw new Error(e.message ?? String(e)); + } From a5e66db627b644933a213de84765df34e43be85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 06:01:57 +0900 Subject: [PATCH 03/11] refactor: remove unused dependencies --- package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/package.json b/package.json index 8dde6b1ec8fb..e82a1780f359 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "devDependencies": { - "@actions/core": "^1.10.1", - "@actions/github": "^6.0.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1", "@eslint/compat": "^1.2.4", "@eslint/eslintrc": "^3.2.0", From d3ca756a91f4abbb5eaec11989d127d7fbd151c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 06:06:51 +0900 Subject: [PATCH 04/11] test: rule test --- .github/workflows/semantic-breaking-change-pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic-breaking-change-pr.yml b/.github/workflows/semantic-breaking-change-pr.yml index 46d4627b3fdc..a8f326ff66a3 100644 --- a/.github/workflows/semantic-breaking-change-pr.yml +++ b/.github/workflows/semantic-breaking-change-pr.yml @@ -1,4 +1,4 @@ -name: Semantic Breaking Change PR +name: Semantic Breaking Change PR 2 on: pull_request_target: @@ -11,8 +11,9 @@ on: jobs: main: - name: Validate Breaking Change PR + name: Validate Breaking Change PR 2 runs-on: ubuntu-latest + cache: false steps: - uses: actions/checkout@v4 - uses: ./.github/actions/breaking-pr-check From ca3afbfb3930f45a5306b14e64687714d51c2e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 07:52:36 +0900 Subject: [PATCH 05/11] chore: add test code --- .github/workflows/semantic-breaking-change-pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/semantic-breaking-change-pr.yml b/.github/workflows/semantic-breaking-change-pr.yml index a8f326ff66a3..e174260b4b76 100644 --- a/.github/workflows/semantic-breaking-change-pr.yml +++ b/.github/workflows/semantic-breaking-change-pr.yml @@ -1,7 +1,8 @@ name: Semantic Breaking Change PR 2 +# FIXME: this is test logic on: - pull_request_target: + pull_request: types: - opened - edited @@ -9,6 +10,8 @@ on: - labeled - unlabeled + workflow_dispatch: + jobs: main: name: Validate Breaking Change PR 2 From 712411d82dcab57c332b27a6b82c2162d0a76b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 08:15:21 +0900 Subject: [PATCH 06/11] chore: add test logic --- .github/actions/breaking-pr-check/action.yml | 2 +- ...-breaking-change-pr.yml => semantic-breaking-change-pr2.yml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{semantic-breaking-change-pr.yml => semantic-breaking-change-pr2.yml} (100%) diff --git a/.github/actions/breaking-pr-check/action.yml b/.github/actions/breaking-pr-check/action.yml index 60f7f4673209..96c01d180aae 100644 --- a/.github/actions/breaking-pr-check/action.yml +++ b/.github/actions/breaking-pr-check/action.yml @@ -1,4 +1,4 @@ -name: Validate Breaking Change PR +name: Validate Breaking Change PR2 description: Validate breaking change PR title and description runs: diff --git a/.github/workflows/semantic-breaking-change-pr.yml b/.github/workflows/semantic-breaking-change-pr2.yml similarity index 100% rename from .github/workflows/semantic-breaking-change-pr.yml rename to .github/workflows/semantic-breaking-change-pr2.yml From 34fc314a7e028575c259d71d4f2aaa9e0b1c86a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 08:17:58 +0900 Subject: [PATCH 07/11] chore: rename action and remove obsolete workflow file --- .github/actions/breaking-pr-check/action.yml | 2 +- ...g-change-pr2.yml => semantic-breaking-change-pr-test.yml} | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename .github/workflows/{semantic-breaking-change-pr2.yml => semantic-breaking-change-pr-test.yml} (79%) diff --git a/.github/actions/breaking-pr-check/action.yml b/.github/actions/breaking-pr-check/action.yml index 96c01d180aae..60f7f4673209 100644 --- a/.github/actions/breaking-pr-check/action.yml +++ b/.github/actions/breaking-pr-check/action.yml @@ -1,4 +1,4 @@ -name: Validate Breaking Change PR2 +name: Validate Breaking Change PR description: Validate breaking change PR title and description runs: diff --git a/.github/workflows/semantic-breaking-change-pr2.yml b/.github/workflows/semantic-breaking-change-pr-test.yml similarity index 79% rename from .github/workflows/semantic-breaking-change-pr2.yml rename to .github/workflows/semantic-breaking-change-pr-test.yml index e174260b4b76..5958b98aa10a 100644 --- a/.github/workflows/semantic-breaking-change-pr2.yml +++ b/.github/workflows/semantic-breaking-change-pr-test.yml @@ -1,4 +1,4 @@ -name: Semantic Breaking Change PR 2 +name: Semantic Breaking Change PR Test # FIXME: this is test logic on: @@ -14,9 +14,8 @@ on: jobs: main: - name: Validate Breaking Change PR 2 + name: Validate Breaking Change PR Test runs-on: ubuntu-latest - cache: false steps: - uses: actions/checkout@v4 - uses: ./.github/actions/breaking-pr-check From 0aa12b7d715babc5c3a4676702079e2bdd6c3667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 21:34:10 +0900 Subject: [PATCH 08/11] feat: add permission --- .github/workflows/semantic-breaking-change-pr-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/semantic-breaking-change-pr-test.yml b/.github/workflows/semantic-breaking-change-pr-test.yml index 5958b98aa10a..9e6bc2905069 100644 --- a/.github/workflows/semantic-breaking-change-pr-test.yml +++ b/.github/workflows/semantic-breaking-change-pr-test.yml @@ -12,6 +12,10 @@ on: workflow_dispatch: +permissions: + contents: read + pull-requests: write + jobs: main: name: Validate Breaking Change PR Test From e94356fa26c29730b3bdd5dcf0256b0584d92157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 21:42:31 +0900 Subject: [PATCH 09/11] fix: token --- .github/actions/breaking-pr-check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/breaking-pr-check/action.yml b/.github/actions/breaking-pr-check/action.yml index 60f7f4673209..eb87547a5317 100644 --- a/.github/actions/breaking-pr-check/action.yml +++ b/.github/actions/breaking-pr-check/action.yml @@ -7,7 +7,7 @@ runs: - name: Check PR title and body using github-script uses: actions/github-script@v7 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ env.GITHUB_TOKEN }} script: | async function getPullRequest() { const pr = context.payload.pull_request; From 1e77541df068d9d5b3c2379f60c7ba1c4df19352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 21:58:58 +0900 Subject: [PATCH 10/11] fix: revert test code & lock file update --- .../semantic-breaking-change-pr-test.yml | 12 +- yarn.lock | 200 ------------------ 2 files changed, 3 insertions(+), 209 deletions(-) diff --git a/.github/workflows/semantic-breaking-change-pr-test.yml b/.github/workflows/semantic-breaking-change-pr-test.yml index 9e6bc2905069..686fc7486781 100644 --- a/.github/workflows/semantic-breaking-change-pr-test.yml +++ b/.github/workflows/semantic-breaking-change-pr-test.yml @@ -1,8 +1,8 @@ -name: Semantic Breaking Change PR Test +name: Semantic Breaking Change PR # FIXME: this is test logic on: - pull_request: + pull_request_target: types: - opened - edited @@ -10,15 +10,9 @@ on: - labeled - unlabeled - workflow_dispatch: - -permissions: - contents: read - pull-requests: write - jobs: main: - name: Validate Breaking Change PR Test + name: Validate Breaking Change PR runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/yarn.lock b/yarn.lock index d9e67a848c5e..92d33a6a11b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,54 +12,6 @@ __metadata: languageName: node linkType: hard -"@actions/core@npm:^1.10.1": - version: 1.11.1 - resolution: "@actions/core@npm:1.11.1" - dependencies: - "@actions/exec": ^1.1.1 - "@actions/http-client": ^2.0.1 - checksum: 9ac7a3e0b478bfefd862dcb4ddaa1d8c3f9076bb1931d3d280918d1749e7783480c6a009c1b009c8bf5093e2d77d9f4e023d70416145bf246f0071736d4ef839 - languageName: node - linkType: hard - -"@actions/exec@npm:^1.1.1": - version: 1.1.1 - resolution: "@actions/exec@npm:1.1.1" - dependencies: - "@actions/io": ^1.0.1 - checksum: d976e66dd51ab03d76a143da8e1406daa1bcdee06046168e6e0bec681c87a12999eefaad7a81cb81f28e4190610f55a58b8458ae4b82cbaaba13200490f4e8c2 - languageName: node - linkType: hard - -"@actions/github@npm:^6.0.0": - version: 6.0.0 - resolution: "@actions/github@npm:6.0.0" - dependencies: - "@actions/http-client": ^2.2.0 - "@octokit/core": ^5.0.1 - "@octokit/plugin-paginate-rest": ^9.0.0 - "@octokit/plugin-rest-endpoint-methods": ^10.0.0 - checksum: 81831a78377175d8825fc0b94247ff366c0e87ad1dfa48df9b30b8659506f216dcf1e2d3124fcd318839b92c24ba20165e238b3cc11a34db89c69c40825e9ccf - languageName: node - linkType: hard - -"@actions/http-client@npm:^2.0.1, @actions/http-client@npm:^2.2.0": - version: 2.2.0 - resolution: "@actions/http-client@npm:2.2.0" - dependencies: - tunnel: ^0.0.6 - undici: ^5.25.4 - checksum: 075fc21e8c05e865239bfc5cc91ce42aff7ac7877a5828145545cb27c572f74af8f96f90233f3ba2376525a9032bb8eadebd7221c007ce62459b99d5d2362f94 - languageName: node - linkType: hard - -"@actions/io@npm:^1.0.1": - version: 1.1.3 - resolution: "@actions/io@npm:1.1.3" - checksum: 42841ac2b8a7afb29456b9edb5534dbe00148893c794bdbc17d29166847c51c884e2a7c087a489a428250a78e7b54bc761ba3b55eb2f97d9600e9193b60caf0b - languageName: node - linkType: hard - "@algolia/autocomplete-core@npm:1.9.3": version: 1.9.3 resolution: "@algolia/autocomplete-core@npm:1.9.3" @@ -3331,13 +3283,6 @@ __metadata: languageName: node linkType: hard -"@fastify/busboy@npm:^2.0.0": - version: 2.0.0 - resolution: "@fastify/busboy@npm:2.0.0" - checksum: 41879937ce1dee6421ef9cd4da53239830617e1f0bb7a0e843940772cd72827205d05e518af6adabe6e1ea19301285fff432b9d11bad01a531e698bea95c781b - languageName: node - linkType: hard - "@gerrit0/mini-shiki@npm:^3.2.2": version: 3.3.0 resolution: "@gerrit0/mini-shiki@npm:3.3.0" @@ -3882,112 +3827,6 @@ __metadata: languageName: node linkType: hard -"@octokit/auth-token@npm:^4.0.0": - version: 4.0.0 - resolution: "@octokit/auth-token@npm:4.0.0" - checksum: d78f4dc48b214d374aeb39caec4fdbf5c1e4fd8b9fcb18f630b1fe2cbd5a880fca05445f32b4561f41262cb551746aeb0b49e89c95c6dd99299706684d0cae2f - languageName: node - linkType: hard - -"@octokit/core@npm:^5.0.1": - version: 5.0.1 - resolution: "@octokit/core@npm:5.0.1" - dependencies: - "@octokit/auth-token": ^4.0.0 - "@octokit/graphql": ^7.0.0 - "@octokit/request": ^8.0.2 - "@octokit/request-error": ^5.0.0 - "@octokit/types": ^12.0.0 - before-after-hook: ^2.2.0 - universal-user-agent: ^6.0.0 - checksum: 257c5954074f9a1477e25014ce4ac96d73123744b1bfaf28eecb15fea306e2b8454bc6ffec3a0476dd02f76d2ac156b4f7c6aec7d3f7fac955d01f0d62d31e5d - languageName: node - linkType: hard - -"@octokit/endpoint@npm:^9.0.0": - version: 9.0.1 - resolution: "@octokit/endpoint@npm:9.0.1" - dependencies: - "@octokit/types": ^12.0.0 - is-plain-object: ^5.0.0 - universal-user-agent: ^6.0.0 - checksum: 4f700c66829ed0b5ced3c0d018d63de1ecf1a267064095e450b6cfeb6abddecc704947d3f04e4921ac0d4d73595d81d52802d3306945ba7a642f1386fd8db68b - languageName: node - linkType: hard - -"@octokit/graphql@npm:^7.0.0": - version: 7.0.2 - resolution: "@octokit/graphql@npm:7.0.2" - dependencies: - "@octokit/request": ^8.0.1 - "@octokit/types": ^12.0.0 - universal-user-agent: ^6.0.0 - checksum: 05a752c4c2d84fc2900d8e32e1c2d1ee98a5a14349e651cb1109d0741e821e7417a048b1bb40918534ed90a472314aabbda35688868016f248098925f82a3bfa - languageName: node - linkType: hard - -"@octokit/openapi-types@npm:^19.0.0": - version: 19.0.0 - resolution: "@octokit/openapi-types@npm:19.0.0" - checksum: 9a8125ab4e1651ca4b2f734cfa15ca52fe9fa0edd87696e4f57dfa2bcd472767f0f8a99b9324be21f863e6cd91afee423982189f97ac018f3c78a83560e616f5 - languageName: node - linkType: hard - -"@octokit/plugin-paginate-rest@npm:^9.0.0": - version: 9.0.0 - resolution: "@octokit/plugin-paginate-rest@npm:9.0.0" - dependencies: - "@octokit/types": ^12.0.0 - peerDependencies: - "@octokit/core": ">=5" - checksum: 4a8543f3e45c4916f94edc57d66106ee60da9fd4edccd7c3a2ddd00da1fc4eb2e1b2bcb3d6cb981a050edf883100c5004d0b81497568d4ac9138310a2188a458 - languageName: node - linkType: hard - -"@octokit/plugin-rest-endpoint-methods@npm:^10.0.0": - version: 10.0.1 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.0.1" - dependencies: - "@octokit/types": ^12.0.0 - peerDependencies: - "@octokit/core": ">=5" - checksum: 4873a76976308dac3a6426d7f4fdd680568f05a3b511dbc47225b7f80feda39771f0cd104ef769dbb7c6fadd2af21a4eab0709f2547fa7f1b55cb9019d93b8e5 - languageName: node - linkType: hard - -"@octokit/request-error@npm:^5.0.0": - version: 5.0.1 - resolution: "@octokit/request-error@npm:5.0.1" - dependencies: - "@octokit/types": ^12.0.0 - deprecation: ^2.0.0 - once: ^1.4.0 - checksum: a681341e43b4da7a8acb19e1a6ba0355b1af146fa0191f2554a98950cf85f898af6ae3ab0b0287d6c871f5465ec57cb38363b96b5019f9f77ba6f30eca39ede5 - languageName: node - linkType: hard - -"@octokit/request@npm:^8.0.1, @octokit/request@npm:^8.0.2": - version: 8.1.4 - resolution: "@octokit/request@npm:8.1.4" - dependencies: - "@octokit/endpoint": ^9.0.0 - "@octokit/request-error": ^5.0.0 - "@octokit/types": ^12.0.0 - is-plain-object: ^5.0.0 - universal-user-agent: ^6.0.0 - checksum: 6a88389b45342c8d773fb157a24a4b06bda6f883e5e91923ea05bf417e1b211e006898c50cdd69c4bd054b65b10a6ca8862cf9eee9c0b07f9a1de8ef43d7d70d - languageName: node - linkType: hard - -"@octokit/types@npm:^12.0.0": - version: 12.0.0 - resolution: "@octokit/types@npm:12.0.0" - dependencies: - "@octokit/openapi-types": ^19.0.0 - checksum: ad55e13cbeef96a63d0088df2ed0a8f3ca764db3f877aa2ecb1693de40b03c1f8e392603bd7fddaaaa74138970ea39f46e4b830d15eeeba74be1671f36440129 - languageName: node - linkType: hard - "@oxc-resolver/binding-darwin-arm64@npm:9.0.2": version: 9.0.2 resolution: "@oxc-resolver/binding-darwin-arm64@npm:9.0.2" @@ -5604,8 +5443,6 @@ __metadata: version: 0.0.0-use.local resolution: "@typescript-eslint/typescript-eslint@workspace:." dependencies: - "@actions/core": ^1.10.1 - "@actions/github": ^6.0.0 "@eslint-community/eslint-plugin-eslint-comments": ^4.4.1 "@eslint/compat": ^1.2.4 "@eslint/eslintrc": ^3.2.0 @@ -6797,13 +6634,6 @@ __metadata: languageName: node linkType: hard -"before-after-hook@npm:^2.2.0": - version: 2.2.2 - resolution: "before-after-hook@npm:2.2.2" - checksum: dc2e1ffe389e5afbef2a46790b1b5a50247ed57aba67649cfa9ec2552d248cc9278f222e72fb5a8ff59bbb39d78fbaa97e7234ead0c6b5e8418b67a8644ce207 - languageName: node - linkType: hard - "big.js@npm:^5.2.2": version: 5.2.2 resolution: "big.js@npm:5.2.2" @@ -8542,13 +8372,6 @@ __metadata: languageName: node linkType: hard -"deprecation@npm:^2.0.0": - version: 2.3.1 - resolution: "deprecation@npm:2.3.1" - checksum: f56a05e182c2c195071385455956b0c4106fe14e36245b00c689ceef8e8ab639235176a96977ba7c74afb173317fac2e0ec6ec7a1c6d1e6eaa401c586c714132 - languageName: node - linkType: hard - "dequal@npm:^2.0.0": version: 2.0.3 resolution: "dequal@npm:2.0.3" @@ -18573,13 +18396,6 @@ __metadata: languageName: node linkType: hard -"tunnel@npm:^0.0.6": - version: 0.0.6 - resolution: "tunnel@npm:0.0.6" - checksum: c362948df9ad34b649b5585e54ce2838fa583aa3037091aaed66793c65b423a264e5229f0d7e9a95513a795ac2bd4cb72cda7e89a74313f182c1e9ae0b0994fa - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -18798,15 +18614,6 @@ __metadata: languageName: node linkType: hard -"undici@npm:^5.25.4": - version: 5.26.4 - resolution: "undici@npm:5.26.4" - dependencies: - "@fastify/busboy": ^2.0.0 - checksum: 4d37f14ce56837d332ab1623be751f2a5b439069705671cc60b441133300b05bcb8803668132e7b3f98800db19cd6cb76b48831facbdbc2d73271b12383ab3cd - languageName: node - linkType: hard - "unicode-canonical-property-names-ecmascript@npm:^2.0.0": version: 2.0.0 resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" @@ -18963,13 +18770,6 @@ __metadata: languageName: node linkType: hard -"universal-user-agent@npm:^6.0.0": - version: 6.0.0 - resolution: "universal-user-agent@npm:6.0.0" - checksum: 5092bbc80dd0d583cef0b62c17df0043193b74f425112ea6c1f69bc5eda21eeec7a08d8c4f793a277eb2202ffe9b44bec852fa3faff971234cd209874d1b79ef - languageName: node - linkType: hard - "universalify@npm:^2.0.0": version: 2.0.0 resolution: "universalify@npm:2.0.0" From 375efef0c94babd39cdf4f9bf2171a7e8f879939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=89=E1=85=A1=E1=86=BC?= =?UTF-8?q?=E1=84=83=E1=85=AE?= Date: Tue, 10 Jun 2025 22:02:54 +0900 Subject: [PATCH 11/11] fix: remove test code --- .github/workflows/semantic-breaking-change-pr-test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/semantic-breaking-change-pr-test.yml b/.github/workflows/semantic-breaking-change-pr-test.yml index 686fc7486781..46d4627b3fdc 100644 --- a/.github/workflows/semantic-breaking-change-pr-test.yml +++ b/.github/workflows/semantic-breaking-change-pr-test.yml @@ -1,6 +1,5 @@ name: Semantic Breaking Change PR -# FIXME: this is test logic on: pull_request_target: types: