build: do not run GitHub actions for draft PRs

PR-URL: https://github.com/nodejs/node/pull/35910
Fixes: https://github.com/nodejs/node/issues/35899
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
Michaël Zasso committed 2020-12-21 18:24:31 +01:00
1 parent 9fbab3e2f5
commit 82a26268d7
9 files changed
+16 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ env:
jobs:
coverage-linux:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2