stategraph apply-force
stategraph apply-force is a pull request comment, not a terminal command: it runs an apply even when the pull request does not meet its apply requirements. It also bypasses Gatekeeper gates: Orchestration does not check them and requests no gate approval.
With access control, only the users in the apply_force list of a policy can run it. By default, the list is empty.
Trusted users only
Use apply-force only when necessary, and restrict it to trusted users. Every force apply is logged for audit.
Usage
stategraph apply-force [tag-query]
A tag query filters by dir:<path>, workspace:<name>, or tag name, with and, or, and not.
Examples
All plans:
stategraph apply-force
A specific directory:
stategraph apply-force dir:hotfix
Production changes:
stategraph apply-force production
A complex query:
stategraph apply-force dir:critical and workspace:prod
Related commands
- stategraph apply: the standard apply with requirements
- stategraph gate approve: approve validation gates instead of skipping them