From 3894dbcacf32c9814554c6208a935812c804feec Mon Sep 17 00:00:00 2001 From: Nidhi Date: Mon, 21 Jun 2021 12:20:57 +0530 Subject: [PATCH] Run tests for all approved PRs (#5275) --- .github/workflows/client-test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/client-test.yml b/.github/workflows/client-test.yml index 572f4a43b6..d6f2b89ac4 100644 --- a/.github/workflows/client-test.yml +++ b/.github/workflows/client-test.yml @@ -27,13 +27,11 @@ jobs: build: # If the build has been triggered manually via workflow_dispatch or via a push to protected branches # then we don't check for the PR approved state - # Only PR approvals of internally created PRs should trigger this workflow if: | github.event_name == 'workflow_dispatch' || github.event_name == 'push' || (github.event_name == 'pull_request_review' && - github.event.review.state == 'approved' && - github.event.pull_request.head.repo.full_name == github.repository) + github.event.review.state == 'approved') runs-on: ubuntu-latest defaults: run: