From 27a646789648acbe66bf544465341dae649fc4a2 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Wed, 15 Jul 2026 16:47:28 +0200 Subject: [PATCH] fix(ci): don't cancel CI on autofix pushes, guard format step --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afc4ff903..c26878901 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ permissions: concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || inputs.pr_number || github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + cancel-in-progress: false env: FORCE_COLOR: 3 @@ -91,7 +91,7 @@ jobs: echo "count=$(wc -l < /tmp/changed-files | tr -d '[:space:]')" >> $GITHUB_OUTPUT - name: Check formatting on changed files - if: steps.changed.outputs.count != '0' + if: steps.changed.outcome == 'success' && steps.changed.outputs.count != '0' continue-on-error: true run: xargs -r -a /tmp/changed-files pnpm exec oxfmt --check