Make the Clippy Check CI action not comment on draft PRs

This commit is contained in:
Keavon Chambers 2024-09-09 13:56:03 -07:00
parent d9ae01bf90
commit a93dcb2776
1 changed files with 2 additions and 0 deletions

View File

@ -3,11 +3,13 @@ name: Clippy Check
on: on:
pull_request: pull_request:
branches: [master] branches: [master]
types: [opened, reopened, synchronize, ready_for_review]
jobs: jobs:
clippy: clippy:
name: Run Clippy name: Run Clippy
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write