From 4e28d2b2c0fefc3808316e301fd211c091eaf2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 16 Jul 2021 08:24:23 +0200 Subject: [PATCH] build: run workflows when a PR is ready for review Add `ready_for_review` to the activity types for the pull_request event. PR-URL: https://github.com/nodejs/node/pull/39405 Reviewed-By: Jiawen Geng Reviewed-By: Richard Lau Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell --- .github/workflows/build-tarball.yml | 1 + .github/workflows/build-windows.yml | 1 + .github/workflows/linters.yml | 1 + .github/workflows/misc.yml | 1 + .github/workflows/test-asan.yml | 1 + .github/workflows/test-linux.yml | 1 + .github/workflows/test-macos.yml | 1 + 7 files changed, 7 insertions(+) diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 3e57a08d98b611..cf6e2ce3673149 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -2,6 +2,7 @@ name: Build from tarball on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - master diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 139ecf7c71fbb1..d04028cab029d8 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -2,6 +2,7 @@ name: build-windows on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - master diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index a083c4f08d2cce..a62ea534b183b2 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -2,6 +2,7 @@ name: linters on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - master diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index 479b9c6e0fad62..39006c0bf57910 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -2,6 +2,7 @@ name: misc on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - master diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 7b0c135f0a08c2..90dd917d424de5 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -11,6 +11,7 @@ on: paths-ignore: - 'doc/**' pull_request: + types: [opened, synchronize, reopened, ready_for_review] paths-ignore: - 'doc/**' diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 651152f8cfe678..c730803e0c342a 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -2,6 +2,7 @@ name: test-linux on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] push: branches: - master diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 20fdd7f98764f2..a1faf8987739c0 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -2,6 +2,7 @@ name: test-macOS on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] paths-ignore: - 'doc/**' push: