From de610bc4e7d30326aa94dfa33e66ec4dfcce2a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Tue, 23 Jun 2026 17:24:01 +0200 Subject: [PATCH] Rename CI New UI workflow to CI UI (#22030) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renames the `CI New UI` workflow to `CI UI`, dropping the "new ui" terminology everywhere it appeared. - Renamed `.github/workflows/ci-new-ui.yaml` → `ci-ui.yaml` - Updated the workflow `name`, job names (`ui-task`, `ui-sb-build`, `ui-sb-test`, `ci-ui-status-check`), and internal `needs`/`if` references - Updated `visual-regression-dispatch.yaml` which keys off the workflow name (`CI UI`) Note: the required status check in branch protection settings (workflow name / `ci-ui-status-check`) lives in repo settings and will need updating by an admin so PRs don't wait on the old check name. Review in cubic --- .github/workflows/{ci-new-ui.yaml => ci-ui.yaml} | 16 ++++++++-------- .../workflows/visual-regression-dispatch.yaml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{ci-new-ui.yaml => ci-ui.yaml} (92%) diff --git a/.github/workflows/ci-new-ui.yaml b/.github/workflows/ci-ui.yaml similarity index 92% rename from .github/workflows/ci-new-ui.yaml rename to .github/workflows/ci-ui.yaml index 7dd94967da0..391baa35e27 100644 --- a/.github/workflows/ci-new-ui.yaml +++ b/.github/workflows/ci-ui.yaml @@ -1,4 +1,4 @@ -name: CI New UI +name: CI UI on: pull_request: @@ -22,7 +22,7 @@ jobs: yarn.lock packages/twenty-ui/** packages/twenty-shared/** - new-ui-task: + ui-task: needs: changed-files-check if: needs.changed-files-check.outputs.any_changed == 'true' timeout-minutes: 30 @@ -39,7 +39,7 @@ jobs: uses: ./.github/actions/yarn-install - name: Run ${{ matrix.task }} run: npx nx ${{ matrix.task }} twenty-ui - new-ui-sb-build: + ui-sb-build: needs: changed-files-check if: >- always() && @@ -62,11 +62,11 @@ jobs: name: storybook-twenty-ui path: packages/twenty-ui/storybook-static retention-days: 1 - new-ui-sb-test: + ui-sb-test: timeout-minutes: 30 runs-on: ubuntu-latest - needs: new-ui-sb-build - if: always() && needs.new-ui-sb-build.result == 'success' + needs: ui-sb-build + if: always() && needs.ui-sb-build.result == 'success' steps: - name: Fetch custom Github Actions and base branch history uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 @@ -94,11 +94,11 @@ jobs: name: argos-screenshots-twenty-ui path: packages/twenty-ui/screenshots retention-days: 1 - ci-new-ui-status-check: + ci-ui-status-check: if: always() && !cancelled() timeout-minutes: 5 runs-on: ubuntu-latest - needs: [changed-files-check, new-ui-task, new-ui-sb-build, new-ui-sb-test] + needs: [changed-files-check, ui-task, ui-sb-build, ui-sb-test] steps: - name: Fail job if any needs failed if: contains(needs.*.result, 'failure') diff --git a/.github/workflows/visual-regression-dispatch.yaml b/.github/workflows/visual-regression-dispatch.yaml index 810972ae7f8..1f829c01520 100644 --- a/.github/workflows/visual-regression-dispatch.yaml +++ b/.github/workflows/visual-regression-dispatch.yaml @@ -10,7 +10,7 @@ name: Visual Regression Dispatch on: workflow_run: - workflows: ['CI New UI', 'CI Front'] + workflows: ['CI UI', 'CI Front'] types: [completed] permissions: @@ -39,7 +39,7 @@ jobs: script: | const name = context.payload.workflow_run.name; const projectByWorkflow = { - 'CI New UI': 'twenty-ui', + 'CI UI': 'twenty-ui', 'CI Front': 'twenty-front', }; const project = projectByWorkflow[name] ?? 'twenty-front';