From 6fae2fa7a0884c0f59c717a43bf27da1c893a0c3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 02:44:27 +0000 Subject: [PATCH 1/3] Initial plan From 90ab7abcd5828b77df36d43057b93f09a17db89b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 02:46:29 +0000 Subject: [PATCH 2/3] feat: add PR title check workflow to validate conventional commit format Agent-Logs-Url: https://github.com/cnpm/bug-versions/sessions/00de369e-0fa5-4bca-b81a-3935dc8aeed3 Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> --- .github/workflows/pr-title-check.yml | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pr-title-check.yml diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml new file mode 100644 index 0000000..2ec1188 --- /dev/null +++ b/.github/workflows/pr-title-check.yml @@ -0,0 +1,30 @@ +name: PR Title Check + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + pr-title-check: + name: Validate PR Title + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Validate PR title + env: + PR_TITLE: ${{ github.event.pull_request.title }} + run: printf '%s' "$PR_TITLE" | npx commitlint --verbose From f25900e48a2155dd04838b0b9f733e0157f59508 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 03:37:41 +0000 Subject: [PATCH 3/3] fix: update actions to latest versions and use node lts Agent-Logs-Url: https://github.com/cnpm/bug-versions/sessions/88b28b09-821f-4d9f-a95c-ee5713cea681 Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> --- .github/workflows/pr-title-check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 2ec1188..d94fb4a 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -12,14 +12,14 @@ jobs: contents: read steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 1 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: '20' + node-version: 'lts/*' - name: Install dependencies run: npm install