diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index c8a0958..271e0b4 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -3,6 +3,7 @@ on: [ push, pull_request ] 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 \ No newline at end of file