Platform & adminMu Mutation

iacGitUpdateWorkingRef

Topics: Admin

Compare and update a working branch; never publishes main or applies configuration.

Returns

IaCGitRefValue!

Arguments

Owning stack.

name

String!Required

Working branch; protected main is rejected.

Expected current commit; null means the branch must not exist.

target

String!Required

Fully staged valid commit history; must fast-forward an existing branch.

Exact field SDL
"""
Compare and update a working branch; never publishes main or applies configuration.
"""
iacGitUpdateWorkingRef(
  """Owning stack."""
  stackId: IaCStackID!
  """Working branch; protected main is rejected."""
  name: String!
  """Expected current commit; null means the branch must not exist."""
  expected: String
  """
  Fully staged valid commit history; must fast-forward an existing branch.
  """
  target: String!
): IaCGitRefValue! @topic(names: ["admin"])

Declared on Mutation. Access is checked by the platform for each operation.