From f4b36be445c2a354ccc90de293a4c1a0ee3fe6ce Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 26 Sep 2023 01:13:00 +0900 Subject: [PATCH 01/13] build --- dist/index.js | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/dist/index.js b/dist/index.js index b9b4979..062763f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9686,7 +9686,7 @@ async function validateIssueTitleAndBody(issueType, issueNumber, titleRegex, bod if (!titleRegex && !bodyRegex) { return true; } - if (issueType === 'issue') { + if (issueType === 'issue' || issueType === 'both') { const { title, body } = await (0, utils_1.getIssueTitleAndBody)(issueNumber); if (titleRegex && !validate(titleRegex, title)) { return false; @@ -9696,7 +9696,7 @@ async function validateIssueTitleAndBody(issueType, issueNumber, titleRegex, bod } return true; } - if (issueType === 'pull_request') { + if (issueType === 'pull_request' || issueType === 'both') { const { title, body } = await (0, utils_1.getPullRequestTitleAndBody)(issueNumber); if (titleRegex && !validate(titleRegex, title)) { return false; @@ -9917,22 +9917,32 @@ async function run() { const issueType = (0, core_1.getInput)('issue-type') || 'issue'; const issueNumber = github_1.context.issue.number; const isAutoClose = (0, core_1.getInput)('auto-close') || 'false'; - isAutoClose === 'true' ? true : false; + (0, core_1.debug)(`inputs: ${JSON.stringify({ + title, + titleRegexFlags, + body, + bodyRegexFlags, + issueType, + issueNumber, + isAutoClose, + })}`); let titleRegex; let bodyRegex; - if (titleRegexFlags) { - titleRegex = new RegExp(title, titleRegexFlags); + if (titleRegexFlags === 'true') { + titleRegex = new RegExp(title); } else { titleRegex = title; } - if (bodyRegexFlags) { - bodyRegex = new RegExp(body, bodyRegexFlags); + if (bodyRegexFlags === 'true') { + bodyRegex = new RegExp(body); } else { bodyRegex = body; } + (0, core_1.debug)(`regex: ${JSON.stringify({ titleRegex, bodyRegex })}`); const result = await (0, validate_1.validateIssueTitleAndBody)(issueType, issueNumber, titleRegex, bodyRegex); + (0, core_1.debug)(`result: ${result}`); if (result === true) { (0, core_1.setOutput)('result', 'true'); } @@ -9944,7 +9954,7 @@ async function run() { owner: github_1.context.repo.owner, repo: github_1.context.repo.repo, issue_number: issueNumber, - body: `Issue #${issueNumber} is not valid: Reason: ${result}: auto closing issue...`, + body: `Issue #${issueNumber} is not valid: ${result}`, }); // Close issue await octokit.rest.issues.update({ @@ -9954,7 +9964,9 @@ async function run() { state: 'closed', }); } - (0, core_1.setOutput)('result', 'false'); + else { + (0, core_1.warning)(`Issue #${issueNumber} is not valid. Reason: ${result}`); + } } /* eslint @typescript-eslint/no-explicit-any: 0, @typescript-eslint/no-unsafe-argument: 0, @typescript-eslint/no-unsafe-member-access: 0, @typescript-eslint/no-floating-promises: 0 */ } From 86758e4f3246682f09ef596f1f1d7fa42e252c39 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 26 Sep 2023 01:13:14 +0900 Subject: [PATCH 02/13] add: build check ci --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b4e7b47 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: build-dryrun +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build + run: yarn build:dry-run diff --git a/package.json b/package.json index 5a07b51..9d4dbff 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ }, "scripts": { "build": "ncc build src/index.ts -o dist --license licenses.txt", + "build:dry-run": "ncc build src/index.ts -o dist --license licenses.txt --no-cache", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "test": "jest", From 8a7e5afa2127aa5a73d9719fe2294a951882963c Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Mon, 2 Oct 2023 04:17:10 +0900 Subject: [PATCH 03/13] update: query --- .github/workflows/metrics.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml index 04356fb..8b5996b 100644 --- a/.github/workflows/metrics.yml +++ b/.github/workflows/metrics.yml @@ -32,7 +32,7 @@ jobs: uses: github/issue-metrics@v2 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SEARCH_QUERY: 'repo:Okabe-Junya/issue-validator is:issue is:pr created:${{ env.last_month }} -reason:"not planned"' + SEARCH_QUERY: 'repo:Okabe-Junya/issue-validator is:"issue pr" created:${{ env.last_month }} -reason:"not planned"' - name: Create issue uses: peter-evans/create-issue-from-file@v4 From 1a650263294da028dcf95ec5c7594ed11eb32fc6 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Mon, 2 Oct 2023 18:53:35 +0900 Subject: [PATCH 04/13] update: package.json --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 9d4dbff..815d2dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,15 @@ { "name": "issue-validator", - "version": "0.1.0", - "main": "index.js", + "version": "0.2.5", + "main": "dist/index.js", + "scripts": { + "build": "ncc build -o dist src/index.ts --license licenses.txt", + "build:dry-run": "ncc build -o dist src/index.ts --license licenses.txt --no-cache", + "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext .ts --fix", + "test": "jest", + "prettier": "prettier --write ." + }, "repository": "https://github.com/Okabe-Junya/issue-validator", "author": "Junya Okabe ", "license": "MIT", @@ -31,13 +39,5 @@ "ts-jest": "^29.1.1", "typescript": "^5.2.2", "typescript-eslint": "^0.0.1-alpha.0" - }, - "scripts": { - "build": "ncc build src/index.ts -o dist --license licenses.txt", - "build:dry-run": "ncc build src/index.ts -o dist --license licenses.txt --no-cache", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", - "test": "jest", - "prettier": "prettier --write ." } } From f45c3af8ee581efb5cda10b1ee6e5a0ba684ce08 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:16:30 +0900 Subject: [PATCH 05/13] add: deploy.yml --- .github/workflows/deploy.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..d769655 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,42 @@ +name: check dist is up to date +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v3 + + - name: setup node + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: install dependencies + run: yarn install --frozen-lockfile + + - name: rebuild + run: yarn build + + - name: compare dist + run: | + if [ "$(git diff --ignore-space-at-eol ./dist | wc -l)" -gt "0" ]; then + echo "dist is not up to date" + git diff + exit 1 + fi + id: diff + + - name: upload artifact + if: ${{ steps.diff.outputs.exit_code == '1' }} + uses: actions/upload-artifact@v3 + with: + name: dist + path: dist From 93e5d5cdb0c9a8c8526dc07a7cee9725d631d0bc Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:28:46 +0900 Subject: [PATCH 06/13] rename --- .github/workflows/deploy.yml | 42 ---------------------------------- .github/workflows/validate.yml | 29 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 42 deletions(-) delete mode 100644 .github/workflows/deploy.yml create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index d769655..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: check dist is up to date -on: - pull_request: - branches: - - main - push: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: checkout repo - uses: actions/checkout@v3 - - - name: setup node - uses: actions/setup-node@v3 - with: - node-version: '20' - - - name: install dependencies - run: yarn install --frozen-lockfile - - - name: rebuild - run: yarn build - - - name: compare dist - run: | - if [ "$(git diff --ignore-space-at-eol ./dist | wc -l)" -gt "0" ]; then - echo "dist is not up to date" - git diff - exit 1 - fi - id: diff - - - name: upload artifact - if: ${{ steps.diff.outputs.exit_code == '1' }} - uses: actions/upload-artifact@v3 - with: - name: dist - path: dist diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..ffc3a38 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,29 @@ +name: validate +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 20 + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build + run: yarn build:dry-run + + - name: Audit + run: yarn audit From 2f12daa4bc49c8b6b7e621c66123a1283ddee4b6 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:28:55 +0900 Subject: [PATCH 07/13] add: build --- .github/workflows/build.yml | 46 +++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4e7b47..9e5e2dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,26 +1,42 @@ -name: build-dryrun +name: build and compare dist on: - push: - branches: - - main - pull_request: - branches: - - main + workflow_run: + workflows: + - validate + types: + - completed jobs: build: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - - name: Checkout repository - uses: actions/checkout@v4 + - name: checkout repo + uses: actions/checkout@v3 - - name: Setup Node.js - uses: actions/setup-node@v2 + - name: setup node + uses: actions/setup-node@v3 with: - node-version: 20 + node-version: '20' - - name: Install dependencies + - name: install dependencies run: yarn install --frozen-lockfile - - name: Build - run: yarn build:dry-run + - name: rebuild + run: yarn build + + - name: compare dist + run: | + if [ "$(git diff --ignore-space-at-eol ./dist | wc -l)" -gt "0" ]; then + echo "dist is not up to date" + git diff + exit 1 + fi + id: diff + + - name: upload artifact + if: ${{ steps.diff.outputs.exit_code == '1' }} + uses: actions/upload-artifact@v3 + with: + name: dist + path: dist From 84bbf805934a2828aa6e4d20a747ff33589d7621 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:32:46 +0900 Subject: [PATCH 08/13] fix --- .github/workflows/{validate.yml => audit.yml} | 12 ++++++------ .github/workflows/build.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) rename .github/workflows/{validate.yml => audit.yml} (63%) diff --git a/.github/workflows/validate.yml b/.github/workflows/audit.yml similarity index 63% rename from .github/workflows/validate.yml rename to .github/workflows/audit.yml index ffc3a38..cef3b23 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/audit.yml @@ -1,4 +1,4 @@ -name: validate +name: audit on: push: branches: @@ -8,7 +8,7 @@ on: - main jobs: - build: + audit: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -22,8 +22,8 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile - - name: Build - run: yarn build:dry-run + - name: Audit dependencies + run: yarn audit --groups dependencies --level moderate - - name: Audit - run: yarn audit + - name: Audit devDependencies + run: yarn audit --groups devDependencies --level moderate diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e5e2dd..9854685 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,15 +1,15 @@ name: build and compare dist on: - workflow_run: - workflows: - - validate - types: - - completed + pull_request: + branches: + - main + push: + branches: + - main jobs: build: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: checkout repo uses: actions/checkout@v3 From 5a73ffcea7031f835352a8bc28627c4d589f6b76 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:51:12 +0900 Subject: [PATCH 09/13] update: renovate config --- .github/renovate.json5 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index f53a2d5..d03879a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -19,7 +19,7 @@ "assignees": ["Okabe-Junya"], - "labels": ["dependencies", "renovate", "bot"], + "labels": ["dependencies", "renovate", "bot", "release: none"], "dependencyDashboard": true, @@ -34,16 +34,15 @@ }, { "matchUpdateTypes": ["major"], - "addLabels": ["bump: major"] + "addLabels": ["chore: major"] }, { "matchUpdateTypes": ["minor"], - "addLabels": ["bump: minor"] + "addLabels": ["chore: minor"] }, { "matchUpdateTypes": ["patch"], - "addLabels": ["bump: patch"], - "automerge": true + "addLabels": ["chore: patch"] }, { "commitMessageTopic": "Node.js", From 767af7c18e47d18502d7532a1d143f50df8c5867 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 00:51:24 +0900 Subject: [PATCH 10/13] add: release ci --- .github/release-drafter.yml | 10 ++++++++++ .github/release.yml | 4 ++++ .github/workflows/release.yml | 23 +++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..d57e0e9 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,10 @@ +version-resolver: + major: + labels: + - 'release: major' + minor: + labels: + - 'release: minor' + patch: + labels: + - 'release: patch' diff --git a/.github/release.yml b/.github/release.yml index 70148fa..a412ce0 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -16,6 +16,10 @@ changelog: - maintenance - refactor - chore + - chore:deps + - chore:devdeps + - chore:ci + - ci - title: "๐Ÿ“ Documentation" labels: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..415629d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: release drafter + uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 283c09d409a534749fa07b9120cb91985c80c5e2 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 01:00:24 +0900 Subject: [PATCH 11/13] fix --- .github/release-drafter.yml | 41 +++++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 2 -- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index d57e0e9..d00c1ec 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,39 @@ +name-template: 'v$RESOLVED_VERSION ๐ŸŒˆ' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '๐Ÿš€ Features' + labels: + - 'feature' + - 'enhancement' + - title: '๐Ÿ› Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - 'hotfix' + - title: '๐Ÿงฐ Maintenance' + labels: + - 'chore' + - 'chore: major' + - 'chore: minor' + - 'chore: patch' + - 'refactor' + - 'restructure' + - 'cleanup' + - 'ci' + - 'perf' + - 'build' + - 'security' + - 'infrastructure' + - title: '๐Ÿ“ฆ Dependencies' + labels: + - 'renovate' + - title: '๐Ÿ“š Documentation' + labels: + - 'docs' + - 'documentation' +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: @@ -8,3 +44,8 @@ version-resolver: patch: labels: - 'release: patch' +template: | + ## Changes + + $CHANGES + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 415629d..6fcec39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,6 @@ on: push: branches: - main - pull_request: - types: [opened, reopened, synchronize] permissions: contents: read From b193401b3cdb0ff4656c8b0944e818f5ccccc2e5 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 01:32:42 +0900 Subject: [PATCH 12/13] add: label bot --- .github/workflows/label-bot.yml | 84 +++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 1 + 2 files changed, 85 insertions(+) create mode 100644 .github/workflows/label-bot.yml diff --git a/.github/workflows/label-bot.yml b/.github/workflows/label-bot.yml new file mode 100644 index 0000000..d17ce67 --- /dev/null +++ b/.github/workflows/label-bot.yml @@ -0,0 +1,84 @@ +name: labeler bot + +on: + pull_request: + types: [opened, edited] + issue_comment: + types: [created, edited] + +jobs: + label: + # "release: major", "release: minor", "release: patch", "release: none" ใฎใ„ใšใ‚Œใ‹ใฎใƒฉใƒ™ใƒซใฎไป˜ไธŽใ‚’่กŒใ‚ใ›ใ‚‹๏ผŽใ„ใšใ‚Œใ‚‚ใคใ„ใฆใ„ใชใ„ๅ ดๅˆใฏ๏ผŒ/release major ใฎใ‚ˆใ†ใซใ‚ณใƒกใƒณใƒˆใ™ใ‚‹ใ“ใจใงไป˜ไธŽใ•ใ›ใ‚‹ใ‚ˆใ†ใซใ™ใ‚‹๏ผŽ + runs-on: ubuntu-latest + steps: + # ใ„ใšใ‚Œใ‹ใฎใƒฉใƒ™ใƒซใŒไป˜ไธŽใ•ใ‚Œใฆใ„ใ‚‹ใฎใ‹ใ‚’็ขบ่ชใ™ใ‚‹๏ผŽ + - name: check-label + uses: actions/github-script@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const labels = ["release: major", "release: minor", "release: patch", "release: none"]; + const issue = context.issue; + const issue_number = issue.number; + const owner = issue.owner; + const repo = issue.repo; + const { data: issue_data } = await github.issues.get({ + owner: owner, + repo: repo, + issue_number: issue_number + }); + const issue_labels = issue_data.labels.map(label => label.name); + const is_release_label = labels.some(label => issue_labels.includes(label)); + if (is_release_label) { + core.setOutput("is_release_label", "true"); + } else { + core.setOutput("is_release_label", "false"); + } + + - name: add-label + if: steps.check-label.outputs.is_release_label == 'false' + uses: actions/github-script@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const issue = context.issue; + const issue_number = issue.number; + const owner = issue.owner; + const repo = issue.repo; + const comment = context.payload.comment.body; + if (comment.match(/\/release major/)) { + await github.issues.addLabels({ + owner: owner, + repo: repo, + issue_number: issue_number, + labels: ["release: major"] + }); + } else if (comment.match(/\/release minor/)) { + await github.issues.addLabels({ + owner: owner, + repo: repo, + issue_number: issue_number, + labels: ["release: minor"] + }); + } else if (comment.match(/\/release patch/)) { + await github.issues.addLabels({ + owner: owner, + repo: repo, + issue_number: issue_number, + labels: ["release: patch"] + }); + } else if (comment.match(/\/release none/)) { + await github.issues.addLabels({ + owner: owner, + repo: repo, + issue_number: issue_number, + labels: ["release: none"] + }); + } else { + await github.issues.createComment({ + owner: owner, + repo: repo, + issue_number: issue_number, + body: "Please add a label to this issue. \n\n- `/release major` \n- `/release minor` \n- `/release patch` \n- `/release none`" + }); + } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6fcec39..6830ef3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: permissions: contents: read From 09445ad3f0ebc18ba3c6892f8543599dd634f226 Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Tue, 3 Oct 2023 01:36:41 +0900 Subject: [PATCH 13/13] del: label --- .github/workflows/label-bot.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/label-bot.yml b/.github/workflows/label-bot.yml index d17ce67..5a74983 100644 --- a/.github/workflows/label-bot.yml +++ b/.github/workflows/label-bot.yml @@ -8,10 +8,8 @@ on: jobs: label: - # "release: major", "release: minor", "release: patch", "release: none" ใฎใ„ใšใ‚Œใ‹ใฎใƒฉใƒ™ใƒซใฎไป˜ไธŽใ‚’่กŒใ‚ใ›ใ‚‹๏ผŽใ„ใšใ‚Œใ‚‚ใคใ„ใฆใ„ใชใ„ๅ ดๅˆใฏ๏ผŒ/release major ใฎใ‚ˆใ†ใซใ‚ณใƒกใƒณใƒˆใ™ใ‚‹ใ“ใจใงไป˜ไธŽใ•ใ›ใ‚‹ใ‚ˆใ†ใซใ™ใ‚‹๏ผŽ runs-on: ubuntu-latest steps: - # ใ„ใšใ‚Œใ‹ใฎใƒฉใƒ™ใƒซใŒไป˜ไธŽใ•ใ‚Œใฆใ„ใ‚‹ใฎใ‹ใ‚’็ขบ่ชใ™ใ‚‹๏ผŽ - name: check-label uses: actions/github-script@v3 with: