From d5a8715ebc4f416e6fbac29bd7f74b734ca35ce9 Mon Sep 17 00:00:00 2001 From: Vikentiy Fesunov Date: Wed, 12 Aug 2026 10:24:18 +0200 Subject: [PATCH] Add merge gate UI for required checks only allows to select individual jobs, which we have a few. Add a single CI job that joins the status of the rest, and which can be designated as the required check in the UI. --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c76de67..7ae0e1c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,3 +72,13 @@ jobs: diff <(grep -v ^package src/main/java/com/timgroup/statsd/CgroupReader.java) <(grep -v ^package dogstatsd-http/core/src/main/java/com/datadoghq/dogstatsd/http/CgroupReader.java) + + merge-gate: + name: Merge gate + runs-on: ubuntu-latest + needs: [test, test-jnr-exclude, test-jnr-latest, check-vendored] + if: always() + steps: + - name: Fail if any upstream job did not succeed + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} + run: exit 1