Skip to content

[CI]: Compare vs. last commit in black CI action #568

[CI]: Compare vs. last commit in black CI action

[CI]: Compare vs. last commit in black CI action #568

Workflow file for this run

name: black
on: pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
with:
extra_args: black --from-ref HEAD^1 --to-ref HEAD