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
This commit is contained in:
Saroj 2023-02-02 18:34:56 +05:30 committed by GitHub
parent 4ff2a488c3
commit f238c7b118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,11 +14,10 @@ jobs:
ci-test: ci-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: | if: |
github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository ||
github.event_name == 'push' || github.event_name == 'push' ||
(github.event_name == 'pull_request_review' && github.event_name == 'workflow_dispatch' ||
github.event.review.state == 'approved' && github.event_name == 'repository_dispatch'
github.event.pull_request.head.repo.full_name == github.repository)
defaults: defaults:
run: run:
shell: bash shell: bash