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

View file

@ -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