trigger ruff only on changes in python files
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
name: Ruff
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.py'
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: chartboost/ruff-action@v1
|
||||
Reference in New Issue
Block a user