From 09d22542a292443ce5950a8f0eae31ec30f30679 Mon Sep 17 00:00:00 2001 From: Ivan Banov Date: Tue, 14 Jul 2026 11:50:28 +0200 Subject: [PATCH] fix(ci): unblock the changesets release PR Two checks were failing on every release PR by design, not by accident: - versioning ran `changeset status` against the release PR itself, which fails because that PR consumes changesets rather than adding one. Skip the job for the changeset-release/main branch. - format ran oxfmt against changesets' own auto-generated CHANGELOG.md entries, which never match its style since nothing hand-formats them. Added a .prettierignore excluding CHANGELOG.md (oxfmt reads it by default with no config wiring needed). --- .github/workflows/ci-checks.yml | 2 ++ .prettierignore | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .prettierignore diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 003330e..7874ee7 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -60,6 +60,8 @@ jobs: - run: pnpm format:check versioning: + # The release PR consumes changesets rather than adding one — never flag it. + if: github.head_ref != 'changeset-release/main' runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..6a04a08 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +# Changesets-generated; never hand-formatted, so never format-checked. +**/CHANGELOG.md