From d04e5d590f1b338720d45b48b9393bde2b300350 Mon Sep 17 00:00:00 2001 From: Janpot <2109932+Janpot@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:43:52 +0200 Subject: [PATCH 1/5] [code-infra] Remove ci-check action --- .github/workflows/ci-check.yml | 33 --------------------------------- .github/workflows/ci.yml | 6 +----- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 .github/workflows/ci-check.yml diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml deleted file mode 100644 index b26620bb7c4f4b..00000000000000 --- a/.github/workflows/ci-check.yml +++ /dev/null @@ -1,33 +0,0 @@ -# This workflow is a workaround for ci.yml to bypass the github checks -# -# Ref: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks -name: CI Check - -on: - push: - branches-ignore: - # should sync with ci.yml as a workaround to bypass github checks - - master - - next - - v*.x - pull_request: - paths: - # should sync with ci.yml as a workaround to bypass github checks - - 'docs/**' - -permissions: {} - -jobs: - continuous-releases: - runs-on: ubuntu-latest - steps: - - run: 'echo "No continuous release required"' - - test-dev: - if: ${{ github.actor != 'l10nbot' }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, windows-latest, ubuntu-latest] - steps: - - run: 'echo "No build required"' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d771bd8441431..96c1ca84341180 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,14 +3,10 @@ name: CI on: push: branches: - # should sync with ci-check.yml as a workaround to bypass github checks - master - next - v*.x pull_request: - paths-ignore: - # should sync with ci-check.yml as a workaround to bypass github checks - - 'docs/**' permissions: {} @@ -22,7 +18,7 @@ jobs: # Tests dev-only scripts across all supported dev environments test-dev: # l10nbot does not affect dev scripts. - if: ${{ github.actor != 'l10nbot' }} + if: ${{ github.actor != 'l10nbot' && !contains(join(github.event.commits.*.modified, ','), 'docs/') }} runs-on: ${{ matrix.os }} strategy: matrix: From 5ca815bb4b32b01619a7b0dc68141a22f9a1777e Mon Sep 17 00:00:00 2001 From: Janpot <2109932+Janpot@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:52:21 +0200 Subject: [PATCH 2/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96c1ca84341180..82a53874ea8335 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: # Tests dev-only scripts across all supported dev environments test-dev: # l10nbot does not affect dev scripts. - if: ${{ github.actor != 'l10nbot' && !contains(join(github.event.commits.*.modified, ','), 'docs/') }} + if: ${{ github.actor != 'l10nbot' }} runs-on: ${{ matrix.os }} strategy: matrix: From aabb9bea96bb328f2bf46443e7f63f602e328135 Mon Sep 17 00:00:00 2001 From: Janpot <2109932+Janpot@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:57:15 +0200 Subject: [PATCH 3/5] revert --- .github/workflows/ci-check.yml | 33 ++++++++++++++++++++++++ .github/workflows/ci.yml | 8 +++--- .github/workflows/continuous-release.yml | 17 ++++++++++++ 3 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/ci-check.yml create mode 100644 .github/workflows/continuous-release.yml diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml new file mode 100644 index 00000000000000..b26620bb7c4f4b --- /dev/null +++ b/.github/workflows/ci-check.yml @@ -0,0 +1,33 @@ +# This workflow is a workaround for ci.yml to bypass the github checks +# +# Ref: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks +name: CI Check + +on: + push: + branches-ignore: + # should sync with ci.yml as a workaround to bypass github checks + - master + - next + - v*.x + pull_request: + paths: + # should sync with ci.yml as a workaround to bypass github checks + - 'docs/**' + +permissions: {} + +jobs: + continuous-releases: + runs-on: ubuntu-latest + steps: + - run: 'echo "No continuous release required"' + + test-dev: + if: ${{ github.actor != 'l10nbot' }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, windows-latest, ubuntu-latest] + steps: + - run: 'echo "No build required"' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82a53874ea8335..ef979dc58eae72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,18 +3,18 @@ name: CI on: push: branches: + # should sync with ci-check.yml as a workaround to bypass github checks - master - next - v*.x pull_request: + paths-ignore: + # should sync with ci-check.yml as a workaround to bypass github checks + - 'docs/**' permissions: {} jobs: - continuous-releases: - name: Continuous releases - uses: mui/mui-public/.github/workflows/ci-base.yml@master - # Tests dev-only scripts across all supported dev environments test-dev: # l10nbot does not affect dev scripts. diff --git a/.github/workflows/continuous-release.yml b/.github/workflows/continuous-release.yml new file mode 100644 index 00000000000000..eae8fa77def157 --- /dev/null +++ b/.github/workflows/continuous-release.yml @@ -0,0 +1,17 @@ +name: CI + +on: + push: + branches: + # should sync with ci-check.yml as a workaround to bypass github checks + - master + - next + - v*.x + pull_request: + +permissions: {} + +jobs: + continuous-releases: + name: Continuous releases + uses: mui/mui-public/.github/workflows/ci-base.yml@master From b88c672eefc050e9b29052616d540618de451a8c Mon Sep 17 00:00:00 2001 From: Janpot <2109932+Janpot@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:58:50 +0200 Subject: [PATCH 4/5] fix --- .github/workflows/ci-check.yml | 5 ----- .github/workflows/continuous-release.yml | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index b26620bb7c4f4b..67ed7f73d37ca3 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -18,11 +18,6 @@ on: permissions: {} jobs: - continuous-releases: - runs-on: ubuntu-latest - steps: - - run: 'echo "No continuous release required"' - test-dev: if: ${{ github.actor != 'l10nbot' }} runs-on: ${{ matrix.os }} diff --git a/.github/workflows/continuous-release.yml b/.github/workflows/continuous-release.yml index eae8fa77def157..3f9991d8f7d811 100644 --- a/.github/workflows/continuous-release.yml +++ b/.github/workflows/continuous-release.yml @@ -1,9 +1,8 @@ -name: CI +name: Continuous releases on: push: branches: - # should sync with ci-check.yml as a workaround to bypass github checks - master - next - v*.x From 3947a7843d6f87e52c4cf35d43902b1315f6d8a7 Mon Sep 17 00:00:00 2001 From: Janpot <2109932+Janpot@users.noreply.github.com> Date: Tue, 16 Sep 2025 16:59:50 +0200 Subject: [PATCH 5/5] run continuous releases --- .github/workflows/ci-check.yml | 4 ++++ .github/workflows/ci.yml | 4 ++++ .github/workflows/continuous-release.yml | 16 ---------------- 3 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/continuous-release.yml diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index 67ed7f73d37ca3..094bc4a81b689e 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -18,6 +18,10 @@ on: permissions: {} jobs: + continuous-releases: + name: Continuous releases + uses: mui/mui-public/.github/workflows/ci-base.yml@master + test-dev: if: ${{ github.actor != 'l10nbot' }} runs-on: ${{ matrix.os }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef979dc58eae72..5d771bd8441431 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,10 @@ on: permissions: {} jobs: + continuous-releases: + name: Continuous releases + uses: mui/mui-public/.github/workflows/ci-base.yml@master + # Tests dev-only scripts across all supported dev environments test-dev: # l10nbot does not affect dev scripts. diff --git a/.github/workflows/continuous-release.yml b/.github/workflows/continuous-release.yml deleted file mode 100644 index 3f9991d8f7d811..00000000000000 --- a/.github/workflows/continuous-release.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Continuous releases - -on: - push: - branches: - - master - - next - - v*.x - pull_request: - -permissions: {} - -jobs: - continuous-releases: - name: Continuous releases - uses: mui/mui-public/.github/workflows/ci-base.yml@master