stategraph help

Stategraph Orchestration takes its commands from comments on a pull request, not from a terminal. stategraph help lists the commands and their basic usage in a reply on the pull request.

  • A command is a comment of the form stategraph <command>. terrateam <command> is a legacy alias for every command.
  • GitHub and GitLab accept the same commands.
  • Backticks around the command are ignored, so `stategraph plan` pasted as inline code still runs.
  • Only new comments run commands. Editing a comment does not.
  • On GitHub, a comment with an unknown command gets a reply with the list of commands.

Usage

stategraph help

Commands

Command Description
stategraph plan [tag-query] Plan the changed directories, or those matching a tag query
stategraph apply [tag-query] Apply the stored plans
stategraph apply-autoapprove [tag-query] Reserved. Orchestration does not run it.
stategraph apply-force [tag-query] Apply without meeting the apply requirements
stategraph unlock [pr-number...] [drift] Release the locks a pull request or drift run holds
stategraph gate approve <token>... Approve a gated workflow step
stategraph repo-config Print the evaluated repository configuration
stategraph feedback <message> Record feedback in the server log