Skip to content

gate

gate #781

Workflow file for this run

name: gate
on:
merge_group:
types:
- checks_requested
jobs:
detect-changes:
secrets: inherit
permissions:
contents: write
id-token: write
uses: ./.github/workflows/rw-rush-detect-changes.yml
with:
source-branch: ${{ github.event.merge_group.head_sha }}
target-branch: ${{ github.event.merge_group.base_ref }}
package-name: "@gooddata/sdk-ui-tests-e2e"
e2e-stage:
needs: [detect-changes]
if: ${{ needs.detect-changes.outputs.is-changed == 'true' }}
permissions:
id-token: write
contents: read
pull-requests: read
name: e2e-stage
uses: ./.github/workflows/rw-rush-build-e2e-tests.yml
secrets: inherit
ready-to-merge:
runs-on:
group: infra1-runners-arc
labels: runners-small
if: always()
needs:
- e2e-stage
steps:
- name: Check if needed jobs succeeded
uses: re-actors/alls-green@release/v1
with:
allowed-skips: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}