How github/command works
mainThe github/command Action automates the lifecycle of an IssueOps command. When a workflow step using this Action runs, it performs the following:
- Detection: Scans the comment body for the specified
commandphrase (e.g.,.ping). - Reaction: Automatically reacts to the comment to provide immediate feedback that the command is being processed.
- Authorization: Verifies if the user who commented has the required permissions and is in the
allowlistif configured. - Validation: Checks CI status and PR reviews (if running in a
pull_requestcontext). - Output: Sets the
continueoutput variable. If the command is valid and authorized,steps.<id>.outputs.continueis set to'true'.