Skip to content

Commit ca6be3f

Browse files
committed
Add merge queue config
Signed-off-by: David Martin <[email protected]>
1 parent 14a20bf commit ca6be3f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: .github/workflows/ci.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
branches:
1313
- main
1414
- release*
15+
merge_group:
16+
types: [checks_requested]
17+
workflow_dispatch:
1518

1619
permissions:
1720
contents: read
@@ -73,3 +76,15 @@ jobs:
7376
echo "Please run './hack/gen_kuadrant_custom_resource_state.sh' locally and check in the changes."
7477
exit 1
7578
fi
79+
80+
required-checks:
81+
name: continuous-integration Required Checks
82+
# This check adds a list of checks to one job to simplify adding settings to the repo.
83+
# If a new check is added in this file, and it should be retested on entry to the merge queue,
84+
# it needs to be added to the list below aka needs: [ existing check 1, existing check 2, new check ].
85+
needs: [ ci-e2e-tests, check-bundles, check-kuadrant-custom-resource-state]
86+
if: always()
87+
runs-on: ubuntu-latest
88+
steps:
89+
- uses: actions/checkout@v4
90+
- run: echo '${{ toJSON(needs) }}' | jq -e 'all(.[]; .result == "success" or .result == "skipped")'

0 commit comments

Comments
 (0)