Skip to content

Release v5.33.0

Release v5.33.0 #171

Workflow file for this run

name: pre-commit
on:
pull_request:
branches:
- master
- staging
types:
- opened
- reopened
- ready_for_review
- synchronize
env:
SKIP: pytest-check
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # get full git history
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Install pre-commit
run: |
pip install pre-commit
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run pre-commit
uses: pre-commit/action@v2.0.3
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}