mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-12 20:50:14 +02:00
Exclude non-Python files as part of changed-files action
This commit is contained in:
@@ -30,6 +30,8 @@ runs:
|
||||
id: changed-files
|
||||
if: ${{ inputs.changed-files == 'true' }}
|
||||
uses: tj-actions/changed-files@v44
|
||||
with:
|
||||
files: '**.py'
|
||||
- run: |
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
python $GITHUB_ACTION_PATH/action/main.py
|
||||
|
||||
Reference in New Issue
Block a user