Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 2 additions & 26 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading