Skip to content

Commit

Permalink
Explicitly specify comparison to previous commit in pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Dec 27, 2023
1 parent 9692a98 commit 5d974a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
with:
extra_args: black
extra_args: black --from-ref HEAD^1 --to-ref HEAD

0 comments on commit 5d974a4

Please sign in to comment.