diff --git a/.github/workflows/exceptions.yml b/.github/workflows/exceptions.yml index 44702dfb..a3bb5e4c 100644 --- a/.github/workflows/exceptions.yml +++ b/.github/workflows/exceptions.yml @@ -11,6 +11,7 @@ on: jobs: lint: runs-on: ubuntu-latest + if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) steps: - uses: actions/checkout@v4