ChartBoost / ruff-action

A GitHub Action for Ruff
Apache License 2.0
121 stars 21 forks source link

Fix changed-files for cases where no python files changed #29

Closed DavidJFelix closed 1 week ago

DavidJFelix commented 2 months ago

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.

github-actions[bot] commented 1 month ago

This pull request has been marked as stale. It will be closed in 14 days if no further activity occurs.

DavidJFelix commented 1 month ago

hi its not stale

nitishxp commented 1 month ago

@ffernandez92 can you please approve and merge this PR

github-actions[bot] commented 2 weeks ago

This pull request has been marked as stale. It will be closed in 14 days if no further activity occurs.

github-actions[bot] commented 1 week ago

This pull request has been closed due to lack of activity.