Skip to content

updating action

updating action #5

Workflow file for this run

name: Ruff on Changed Files
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v44 # Identify changed files
id: changed_files
- name: Run Ruff only on changes (optional)
run: |
if [[ -n "${{ steps.changed_files.outputs.all_changed_files }}" ]]; then
# Use ruff-action with `--check` flag here
uses: chartboost/ruff-action@v1 with:
args: --check
fi