Make the Clippy Check CI action not comment on draft PRs
This commit is contained in:
parent
d9ae01bf90
commit
a93dcb2776
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue