diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index c0cbb6b..70cf1fb 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -6,6 +6,11 @@ on: - main - "renovate/**" pull_request: + types: + - opened + - ready_for_review + - reopened + - synchronize concurrency: cancel-in-progress: true @@ -15,6 +20,7 @@ concurrency: jobs: linting: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: UCL-MIRSG/.github/actions/linting@v0.26.0