From 976ecca994c2d5fc4014f73dba3a1f8d09230110 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 2 Aug 2026 12:02:42 +0000 Subject: [PATCH 1/3] Initial plan From 6e8140a586299fc7793fb0b4c2bb16ecc844e873 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 2 Aug 2026 12:03:55 +0000 Subject: [PATCH 2/3] fix: skip release-please job when commit is a chore release merge --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e66642d..469e4eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,9 @@ permissions: jobs: release-please: - if: github.event_name == 'push' + if: >- + github.event_name == 'push' && + !startsWith(github.event.head_commit.message, 'chore: release') runs-on: ubuntu-latest outputs: From fe1944024d7a7befa75597f5efb5d52f419f0702 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 2 Aug 2026 12:16:26 +0000 Subject: [PATCH 3/3] fix: skip PR phase on release commits and use SHA for checkout --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 469e4eb..f4c5330 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,14 +19,13 @@ permissions: jobs: release-please: - if: >- - github.event_name == 'push' && - !startsWith(github.event.head_commit.message, 'chore: release') + if: github.event_name == 'push' runs-on: ubuntu-latest outputs: releases_created: ${{ steps.release.outputs.releases_created }} core_tag: ${{ steps.release.outputs['packages/core--tag_name'] }} + core_sha: ${{ steps.release.outputs['packages/core--sha'] }} docs_tag: ${{ steps.release.outputs['packages/quickli-docs--tag_name'] }} steps: @@ -37,6 +36,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} manifest-file: .release-please-manifest.json config-file: release-please-config.json + skip-github-pull-request: >- + ${{ startsWith(github.event.head_commit.message, 'chore: release') }} release-coverage: if: >- @@ -111,7 +112,7 @@ jobs: - name: Check out released revision uses: actions/checkout@v4 with: - ref: ${{ needs.release-please.outputs.core_tag || github.sha }} + ref: ${{ needs.release-please.outputs.core_sha || github.sha }} - name: Set up Python uses: actions/setup-python@v5 @@ -200,7 +201,7 @@ jobs: - name: Check out released revision uses: actions/checkout@v4 with: - ref: ${{ needs.release-please.outputs.core_tag || github.sha }} + ref: ${{ needs.release-please.outputs.core_sha || github.sha }} - name: Set up pnpm uses: pnpm/action-setup@v4