CI: new pre-commit check (#1037)

This commit is contained in:
Itay 2024-02-03 21:23:31 +02:00 committed by GitHub
parent bb2b517124
commit c435bf3854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
.github/workflows/pr-quality-checks.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Quality Checks PR
concurrency:
group: Quality-Checks-PR-${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request: null
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: pre-commit/action@v3.0.0
with:
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}