User Commands
User commands allow you to trigger specific gitStream actions manually by adding comments to pull requests. These commands provide on-demand execution of automation actions without requiring changes to your .cm
configuration files.
GitHub Only & v2 Action Required
User commands are only supported on GitHub and require the linear-b/gitstream-github-action@v2
. This feature is not available on GitLab or Bitbucket.
Overview
gitStream supports comment-triggered actions that allow you to execute specific automations on-demand. Commands are only processed when new comments are added, not when existing comments are edited.
gitStream provides visual feedback through emoji reactions on command comments. is added when a command is recognized and processing begins and
is added when the command has been successfully executed.
Available Commands
Command | Platform | Description | Action |
---|---|---|---|
/gs review | Runs a one-time code review on the current PR | Executes code-review@v1 once on the current PR | |
/gs desc | Generates or updates the PR description with AI-powered change summary | Executes describe-changes@v1 once on the current PR with concat_mode: append | |
/gs help | Displays available commands and their descriptions | Adds a new PR comment with the list of available commands |