File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,22 @@ concurrency:
3737 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
3838
3939jobs :
40+ # https://graphite.com/docs/stacking-and-ci
41+ optimize_ci :
42+ runs-on : namespace-profile-small-ubuntu-24-04-amd64
43+ outputs :
44+ skip : ${{ steps.check_skip.outputs.skip }}
45+ steps :
46+ - name : Optimize CI
47+ id : check_skip
48+ uses : withgraphite/graphite-ci-action@main
49+ with :
50+ graphite_token : ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
51+
4052 check-system-test-trigger :
4153 runs-on : namespace-profile-small-ubuntu-24-04-amd64
54+ needs : optimize_ci
55+ if : needs.optimize_ci.outputs.skip == 'false'
4256 outputs :
4357 should_run : ${{ github.event_name == 'workflow_dispatch' && 'true' || steps.system_check.outputs.should_run }}
4458 steps :
You can’t perform that action at this time.
0 commit comments