Skip to content

Commit 4ee892c

Browse files
authored
Skip coverage CI for draft PRs (#1280)
1 parent 021322c commit 4ee892c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches: [master]
66
pull_request:
7+
types: [opened, synchronize, reopened, ready_for_review]
78
workflow_dispatch:
89

910
concurrency:
@@ -28,7 +29,7 @@ jobs:
2829

2930
run:
3031
name: Coverage Test on CodeCov
31-
if: needs.file-changes.outputs.checkall == 'true'
32+
if: needs.file-changes.outputs.checkall == 'true' && github.event.pull_request.draft != true
3233
needs: file-changes
3334
runs-on: "ubuntu-latest"
3435
steps:

0 commit comments

Comments
 (0)