Convenience functions for the GitHub commit statuses REST API.
Thin wrappers over GhEx.REST that return the same {:ok, body, meta} /
{:error, reason} shape; opts pass through to Req.
Summary
Functions
Creates a commit status.
Gets the combined status for a git ref.
Lists statuses for a git ref.
Auto-paginates the statuses for a git ref into a lazy Stream (see GhEx.REST.stream/3).
Functions
@spec create(GhEx.Client.t(), String.t(), String.t(), String.t(), map(), keyword()) :: GhEx.REST.result()
Creates a commit status.
@spec get_combined(GhEx.Client.t(), String.t(), String.t(), String.t(), keyword()) :: GhEx.REST.result()
Gets the combined status for a git ref.
@spec list_for_ref(GhEx.Client.t(), String.t(), String.t(), String.t(), keyword()) :: GhEx.REST.result()
Lists statuses for a git ref.
@spec stream_for_ref(GhEx.Client.t(), String.t(), String.t(), String.t(), keyword()) :: Enumerable.t()
Auto-paginates the statuses for a git ref into a lazy Stream (see GhEx.REST.stream/3).