From b81f6d5ee75faaef5a78932f147658a08d521218 Mon Sep 17 00:00:00 2001 From: Alexander Lanin Date: Thu, 16 Jul 2026 22:49:48 +0200 Subject: [PATCH] chore(ci): use central on-pr workflow --- .github/workflows/on-pr.yml | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 68754d2a9..9ad9e14bc 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -20,29 +20,5 @@ on: types: [checks_requested] jobs: - pre-commit: - name: Run pre-commit checks - runs-on: ubuntu-latest - steps: - - - name: 🛡️ Harden Runner - if: github.repository_owner == 'eclipse-score' - uses: step-security/harden-runner@v2.18.0 - with: - egress-policy: audit - - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Setup Bazel - uses: bazel-contrib/setup-bazel@0.19.0 - with: - disk-cache: true - repository-cache: true - bazelisk-cache: true - - - name: Install pre-commit - run: pip install pre-commit - - - name: Run pre-commit checks - run: pre-commit run -a + common: + uses: eclipse-score/cicd-workflows/.github/workflows/on-pr.yml@on-pr