From ff449b6426812d1e5e107715af899fcff5e81419 Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Thu, 30 Apr 2026 13:48:38 +0100 Subject: [PATCH] Stop mergify labelling from skipping pre-commit (#41362) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- .github/workflows/pre-commit.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8ab8d3e703..1dd31b0e50 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,11 +16,7 @@ permissions: jobs: pre-run-check: - if: >- - github.event_name == 'pull_request' && - (github.event.action != 'labeled' || - github.event.label.name == 'ready' || - github.event.label.name == 'verified') + if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - name: Check PR label and author merge count @@ -49,12 +45,7 @@ jobs: pre-commit: needs: pre-run-check - if: >- - always() && - (github.event.action != 'labeled' || - github.event.label.name == 'ready' || - github.event.label.name == 'verified') && - (needs.pre-run-check.result == 'success' || needs.pre-run-check.result == 'skipped') + if: always() && (needs.pre-run-check.result == 'success' || needs.pre-run-check.result == 'skipped') runs-on: ubuntu-latest steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1