Run tests for all approved PRs (#5275)
This commit is contained in:
parent
6358062dd7
commit
3894dbcacf
4
.github/workflows/client-test.yml
vendored
4
.github/workflows/client-test.yml
vendored
|
|
@ -27,13 +27,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
# If the build has been triggered manually via workflow_dispatch or via a push to protected branches
|
# 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
|
# then we don't check for the PR approved state
|
||||||
# Only PR approvals of internally created PRs should trigger this workflow
|
|
||||||
if: |
|
if: |
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'pull_request_review' &&
|
(github.event_name == 'pull_request_review' &&
|
||||||
github.event.review.state == 'approved' &&
|
github.event.review.state == 'approved')
|
||||||
github.event.pull_request.head.repo.full_name == github.repository)
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user