From 354809744246d582dc7b7cc6a16dd69e76f6d042 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 18 Jan 2026 19:00:07 +0000 Subject: [PATCH 1/2] chore(deps): update actions/checkout action to v6 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6b6db2..8b76d9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Check commit messages @@ -32,7 +32,7 @@ jobs: needs: commitlint steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Bun uses: oven-sh/setup-bun@v2 with: @@ -48,7 +48,7 @@ jobs: needs: commitlint steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Bun uses: oven-sh/setup-bun@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6b41b3..1d1bee3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Generate changelog From 1dc6ce12059b1821644368bb9336a2770f153ba2 Mon Sep 17 00:00:00 2001 From: Alec Rust Date: Sun, 18 Jan 2026 19:09:21 +0000 Subject: [PATCH 2/2] build: fix CI --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b76d9a..8f0e5bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,14 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 + # For pull_request events, default checkout is a merge commit which may not be conventional. + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - name: Check commit messages uses: cocogitto/cocogitto-action@v4 with: command: check + # Only lint the commits introduced by this PR/push, not the entire repo history. + args: ${{ github.event_name == 'pull_request' && format('{0}..{1}', github.event.pull_request.base.sha, github.event.pull_request.head.sha) || format('{0}..{1}', github.event.before, github.sha) }} check: name: Lint and Typecheck