Skip to content

Test run e2e after approve not in MQ #1383

Test run e2e after approve not in MQ

Test run e2e after approve not in MQ #1383

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

Check failure on line 24 in .github/workflows/check.yaml

View workflow run for this annotation

GitHub Actions / check

Invalid workflow file

The workflow is not valid. In .github/workflows/check.yaml (Line: 24, Col: 11): Error from called workflow gooddata/gooddata-ui-sdk/.github/workflows/rw-rush-build-basic-checks.yml@72400c958336e5857a83a720651b0b7407b43614 (Line: 36, Col: 27): Job 'validate' depends on unknown job 'build'. In .github/workflows/check.yaml (Line: 24, Col: 11): Error from called workflow gooddata/gooddata-ui-sdk/.github/workflows/rw-rush-build-basic-checks.yml@72400c958336e5857a83a720651b0b7407b43614 (Line: 67, Col: 27): Job 'test' depends on unknown job 'build'.
with:
target-branch: ${{ github.event.pull_request.base.ref }}
secrets: inherit
e2e-tests:
runs-on:
group: infra1-runners-arc
labels: runners-small
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:
allowed-skips: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}