From b4636aa997e715dbdbe9fffda337a6ed96459378 Mon Sep 17 00:00:00 2001 From: Idan Shamam Date: Sun, 22 Feb 2026 14:07:02 +0200 Subject: [PATCH] deployment: add graphite ci-optimizations --- .github/workflows/hybrid_system_test.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/hybrid_system_test.yaml b/.github/workflows/hybrid_system_test.yaml index d63c7095971..be1e8584154 100644 --- a/.github/workflows/hybrid_system_test.yaml +++ b/.github/workflows/hybrid_system_test.yaml @@ -37,8 +37,22 @@ concurrency: cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: + # https://graphite.com/docs/stacking-and-ci + optimize_ci: + runs-on: namespace-profile-small-ubuntu-24-04-amd64 + outputs: + skip: ${{ steps.check_skip.outputs.skip }} + steps: + - name: Optimize CI + id: check_skip + uses: withgraphite/graphite-ci-action@main + with: + graphite_token: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }} + check-system-test-trigger: runs-on: namespace-profile-small-ubuntu-24-04-amd64 + needs: optimize_ci + if: needs.optimize_ci.outputs.skip == 'false' outputs: should_run: ${{ github.event_name == 'workflow_dispatch' && 'true' || steps.system_check.outputs.should_run }} steps: