-
Notifications
You must be signed in to change notification settings - Fork 119
41 lines (39 loc) · 1.02 KB
/
gate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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) }}