Skip to content

ci-dispatch

get ci-dispatch - Filter modules for CI dispatch based on existing valid CI

Filters modules for CI dispatch by checking if invalidated modules already have valid CI at the current HEAD. Directly changed modules are always dispatched.

Mock mode (--mock) accepts JSON mapping module names to CI validity: {"eac-commands": true, "docs": false} where true = has valid CI (skip), false = needs CI (dispatch)

With --format shell, outputs shell variable assignments: DISPATCH="mod1 mod2 mod3" SKIPPED="mod4 mod5"

Flags

Flag Description
--directly-changed Space-separated list of directly changed modules (always dispatched)
--invalidated Space-separated list of invalidated modules (checked for valid CI)
--head-sha Current HEAD SHA to check against (defaults to git HEAD)
--mock Use mock CI status instead of querying GitHub (JSON format)
--format Output format (shell outputs shell variables; otherwise uses standard get command formats)

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.