From 0297ffe7d72efec5678273aba862208da3c8e574 Mon Sep 17 00:00:00 2001 From: PunGrumpy <108584943+PunGrumpy@users.noreply.github.com> Date: Mon, 26 Oct 2026 09:07:32 +0700 Subject: [PATCH] ci(changesets): skip the changeset check on the release pull request The changesets bot deletes the changesets and bumps package.json in changeset-release/main, so Verify Changesets fails there every time. docker-doctor already skips that branch with the same guard. --- .github/workflows/verify-changesets.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify-changesets.yml b/.github/workflows/verify-changesets.yml index 7d716e7..6c32dd0 100644 --- a/.github/workflows/verify-changesets.yml +++ b/.github/workflows/verify-changesets.yml @@ -16,7 +16,8 @@ jobs: verify-changesets: name: Verify Changesets runs-on: ubuntu-latest - if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-changeset') }} + # The release pull request consumes the changesets, so it never carries one. + if: ${{ !(github.head_ref == 'changeset-release/main' && github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.pull_request.labels.*.name, 'skip-changeset') }} steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1