Skip to content

Update CONTRIBUTING.md #390

Update CONTRIBUTING.md

Update CONTRIBUTING.md #390

name: pre-commit check
on:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- id: changed-files
uses: tj-actions/changed-files@v45
- uses: pre-commit/action@v3.0.1
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}