github-workflow-commands-0.0.1.0: GitHub Actions workflow commands
Safe HaskellSafe-Inferred
LanguageGHC2021

GitHub.Workflow.Command.Stopping

Synopsis

Basic usage

suspendCommands Source #

Arguments

:: (MonadCommand m, MonadRandom m) 
=> m a

Commands issued by this action will have no effect

-> m a 

Run an action with processing of workflow commands suspended

GitHub documentation: Stopping and starting workflow commands

Stop and resume

stopCommands :: (MonadCommand m, MonadRandom m) => m SuspendToken Source #

Stops processing any workflow commands

This special command allows you to log anything without accidentally running a workflow command.

resumeCommands :: MonadCommand m => SuspendToken -> m () Source #

Resume processing workflow commands

newtype SuspendToken Source #

Constructors

SuspendToken Text 

Manual token management

Command types

newtype StopCommands Source #

Constructors

StopCommands 

Fields

Instances

Instances details
ToCommand StopCommands Source # 
Instance details

Defined in GitHub.Workflow.Command.Stopping

newtype ResumeCommands Source #

Constructors

ResumeCommands 

Fields

Instances

Instances details
ToCommand ResumeCommands Source # 
Instance details

Defined in GitHub.Workflow.Command.Stopping