Skip to content

Test run e2e after approve not in MQ #1385

Test run e2e after approve not in MQ

Test run e2e after approve not in MQ #1385

Workflow file for this run

name: check
on:
pull_request:
branches:
- master
- release
pull_request_review:
types:
- submitted
concurrency:
group: ${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
build-validate-stage:
permissions:
id-token: write
contents: read
pull-requests: read
name: build-validate-stage
uses: ./.github/workflows/rw-rush-build-basic-checks.yml
with:
target-branch: ${{ github.event.pull_request.base.ref }}
secrets: inherit
e2e-tests:
runs-on:
[ubuntu-latest]
needs:
- build-validate-stage
if: |
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
steps:
- name: Run e2e tests
run: echo "Running e2e tests"
shell: bash
ready-to-merge:
runs-on:
group: infra1-runners-arc
labels: runners-small
if: always()
needs:
- build-validate-stage
- e2e-tests
steps:
- name: Check if needed jobs succeeded
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}