From c15d28c7d6ff7f279fae4d775e2aa6e1098d4f9a Mon Sep 17 00:00:00 2001 From: "Daniel Szoke (via Pi Coding Agent)" Date: Thu, 12 Feb 2026 14:38:22 +0000 Subject: [PATCH] ci(workflow): Add required jobs aggregator check Add a single required-check aggregator job to CI. This makes branch protection easier to manage while still enforcing the full required CI set, and keeps `codecov` intentionally out of the gate. Closes #977 Closes [RUST-143](https://linear.app/getsentry/issue/RUST-143/add-aggregator-required-ci-job) --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c13073b..bcac6a5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -170,3 +170,21 @@ jobs: - name: Run cargo doc run: cargo doc --workspace --all-features --document-private-items --no-deps + + required: + name: Check required jobs + runs-on: ubuntu-latest + if: ${{ always() }} + # Keep this list in sync with all CI jobs that should be required. + # `codecov` is intentionally excluded from this aggregator. + needs: [lints, check, test, MSRV, doc] + + steps: + - name: Fail if any required job did not succeed + if: >- + ${{ + contains(needs.*.result, 'failure') || + contains(needs.*.result, 'cancelled') || + contains(needs.*.result, 'skipped') + }} + run: exit 1