diff options
author | Michaël Zasso <targos@protonmail.com> | 2020-11-01 09:18:08 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2020-11-01 09:18:08 +0100 |
commit | 7c7ec6759d04cf4ffe931e151e1fcc43ee764238 (patch) | |
tree | 1263ce6fd6fb44e496f6f0abec62df9b805d673e | |
parent | 573552540481f85d6c38ff690ae61ee6c359fef9 (diff) | |
download | node-new-7c7ec6759d04cf4ffe931e151e1fcc43ee764238.tar.gz |
build: do not run GitHub actions for draft PRs
-rw-r--r-- | .github/workflows/build-tarball.yml | 1 | ||||
-rw-r--r-- | .github/workflows/build-windows.yml | 1 | ||||
-rw-r--r-- | .github/workflows/coverage-linux.yml | 1 | ||||
-rw-r--r-- | .github/workflows/coverage-windows.yml | 1 | ||||
-rw-r--r-- | .github/workflows/linters.yml | 7 | ||||
-rw-r--r-- | .github/workflows/misc.yml | 1 | ||||
-rw-r--r-- | .github/workflows/test-asan.yml | 1 | ||||
-rw-r--r-- | .github/workflows/test-linux.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test-macos.yml | 1 |
9 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 7e91c8fd00..226dc69f0e 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -13,6 +13,7 @@ env: jobs: build-tarball: + if: github.event.pull_request.draft == false env: PYTHON_VERSION: 3.9 runs-on: ubuntu-latest diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 2a48e0d0fd..2a021723e6 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -15,6 +15,7 @@ env: jobs: build-windows-with-quic: + if: github.event.pull_request.draft == false runs-on: windows-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml index 002c2189b8..75f296230d 100644 --- a/.github/workflows/coverage-linux.yml +++ b/.github/workflows/coverage-linux.yml @@ -22,6 +22,7 @@ env: jobs: coverage-linux: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/coverage-windows.yml b/.github/workflows/coverage-windows.yml index ac0ef7b6e6..188861883b 100644 --- a/.github/workflows/coverage-windows.yml +++ b/.github/workflows/coverage-windows.yml @@ -22,6 +22,7 @@ env: jobs: coverage-windows: + if: github.event.pull_request.draft == false runs-on: windows-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 6c25e775d3..e004206eec 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -14,6 +14,7 @@ env: jobs: lint-addon-docs: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -26,6 +27,7 @@ jobs: - name: Lint addon docs run: NODE=$(which node) make lint-addon-docs lint-cpp: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -38,6 +40,7 @@ jobs: - name: Lint C/C++ files run: make lint-cpp lint-md: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -52,6 +55,7 @@ jobs: echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json" NODE=$(which node) make lint-md lint-js: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -64,6 +68,7 @@ jobs: - name: Lint JavaScript files run: NODE=$(which node) make lint-js lint-py: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -77,8 +82,8 @@ jobs: run: | make lint-py-build || true NODE=$(which node) make lint-py - lint-codeowners: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index 4ee135c5eb..63759f5c51 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -13,6 +13,7 @@ env: jobs: build-docs: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 72b259a835..7df02293fb 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -19,6 +19,7 @@ env: jobs: test-asan: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest env: CC: clang diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 967b863f25..9d9b007b8f 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -15,6 +15,7 @@ env: jobs: test-linux: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -30,6 +31,7 @@ jobs: run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions" test-linux-with-quic: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 5c5f2b2a19..6d87f9cc31 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -15,6 +15,7 @@ env: jobs: test-macOS-with-quic: + if: github.event.pull_request.draft == false runs-on: macos-latest steps: - uses: actions/checkout@v2 |