From f238c7b1189d7dd63c247d289d3e0f44b2d4b30e Mon Sep 17 00:00:00 2001 From: Saroj <43822041+sarojsarab@users.noreply.github.com> Date: Thu, 2 Feb 2023 18:34:56 +0530 Subject: [PATCH] test: fix for ci-test skip issue (#20325) ## Description - Updated the if condition to run the ci-test ## Type of change - ci-test.yml ## How Has This Been Tested? - Cypress ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --- .github/workflows/ci-test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 4fc68e0d47..dc5db25f1e 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -14,11 +14,10 @@ jobs: ci-test: runs-on: ubuntu-latest if: | - github.event_name == 'workflow_dispatch' || + github.event.pull_request.head.repo.full_name == github.repository || 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_name == 'workflow_dispatch' || + github.event_name == 'repository_dispatch' defaults: run: shell: bash