-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix changed-files for cases where no python files changed (#4)
## Problem When a PR contains no changed python files, but changed-files is set to true, ruff will run on all files, including ones not changed. ## Solution Pass the input through to the script and short circuit to success in cases where both the flag is set and no python files were changed.
- Loading branch information
1 parent
701f39c
commit 61703ed
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters