diff --git a/.github/workflows/clippy-warnings-comment.yaml b/.github/workflows/clippy-warnings-comment.yaml index 05fe6161b..fe4d3d339 100644 --- a/.github/workflows/clippy-warnings-comment.yaml +++ b/.github/workflows/clippy-warnings-comment.yaml @@ -3,11 +3,13 @@ name: Clippy Check on: pull_request: branches: [master] + types: [opened, reopened, synchronize, ready_for_review] jobs: clippy: name: Run Clippy runs-on: ubuntu-latest + if: ${{ !github.event.pull_request.draft }} permissions: contents: read pull-requests: write