Skip to main content

tw actions

Manage pipeline actions

Run tw actions -h to view supported pipeline action operations.

Actions enable event-based pipeline execution, such as triggering a pipeline launch with a GitHub webhook whenever the pipeline repository is updated.

tw actions list

List pipeline actions

tw actions list [OPTIONS]

Options

OptionDescriptionRequiredDefault
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No
-l, --labelsShow labels.Nofalse

tw actions view

View pipeline action details

tw actions view [OPTIONS]

Options

OptionDescriptionRequiredDefault
-i, --idAction unique identifierYes
-n, --nameAction nameYes
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No

tw actions delete

Delete a pipeline action

tw actions delete [OPTIONS]

Options

OptionDescriptionRequiredDefault
-i, --idAction unique identifierYes
-n, --nameAction nameYes
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No

tw actions add

Add a pipeline action

tw actions add

Run tw actions add -h to view the required and optional fields for adding an action.

tw actions add github

Add a pipeline action triggered by GitHub events

tw actions add github [OPTIONS]

Options

OptionDescriptionRequiredDefault
-n, --nameAction name.Yes
--pipelinePipeline to launch.Yes
--labelsLabels to apply to the resource. Provide comma-separated label values (use key=value format for resource labels). Labels will be created if they don't existNo
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No
-c, --compute-envCompute environment identifier where the pipeline will run. Defaults to workspace primary compute environment if omitted. Provide the name or identifier.No
--work-dirWork directory path where workflow intermediate files are stored. Defaults to compute environment work directory if omitted.No
-p, --profileArray of Nextflow configuration profile names to apply.No
--params-filePipeline parameters in JSON or YAML format. Provide the path to a file containing the content.No
--revisionGit revision, branch, or tag to use. Use --commit-id to pin to a specific commit within the revision.No
--commit-idSpecific Git commit hash to pin the pipeline execution to.No
--configNextflow configuration as text (overrides config files). Provide the path to a file containing the content.No
--pre-runAdd a script that executes in the nf-launch script prior to invoking Nextflow processes. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--post-runAdd a script that executes after all Nextflow processes have completed. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--pull-latestPull the latest version of the pipeline from the repository.No
--stub-runExecute a stub run for testing (processes return dummy results).No
--main-scriptAlternative main script filename. Default: main.nf.No
--entry-nameWorkflow entry point name when using Nextflow DSL2.No
--schema-nameName of the pipeline schema to use.No
--user-secretsArray of user secrets to make available to the pipeline.No
--workspace-secretsArray of workspace secrets to make available to the pipeline.No
--overwriteOverwrite the action if it already exists.Nofalse

tw actions add tower

Add a pipeline action triggered by Seqera Platform events

tw actions add tower [OPTIONS]

Options

OptionDescriptionRequiredDefault
-n, --nameAction name.Yes
--pipelinePipeline to launch.Yes
--labelsLabels to apply to the resource. Provide comma-separated label values (use key=value format for resource labels). Labels will be created if they don't existNo
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No
-c, --compute-envCompute environment identifier where the pipeline will run. Defaults to workspace primary compute environment if omitted. Provide the name or identifier.No
--work-dirWork directory path where workflow intermediate files are stored. Defaults to compute environment work directory if omitted.No
-p, --profileArray of Nextflow configuration profile names to apply.No
--params-filePipeline parameters in JSON or YAML format. Provide the path to a file containing the content.No
--revisionGit revision, branch, or tag to use. Use --commit-id to pin to a specific commit within the revision.No
--commit-idSpecific Git commit hash to pin the pipeline execution to.No
--configNextflow configuration as text (overrides config files). Provide the path to a file containing the content.No
--pre-runAdd a script that executes in the nf-launch script prior to invoking Nextflow processes. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--post-runAdd a script that executes after all Nextflow processes have completed. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--pull-latestPull the latest version of the pipeline from the repository.No
--stub-runExecute a stub run for testing (processes return dummy results).No
--main-scriptAlternative main script filename. Default: main.nf.No
--entry-nameWorkflow entry point name when using Nextflow DSL2.No
--schema-nameName of the pipeline schema to use.No
--user-secretsArray of user secrets to make available to the pipeline.No
--workspace-secretsArray of workspace secrets to make available to the pipeline.No
--overwriteOverwrite the action if it already exists.Nofalse

tw actions update

Update a pipeline action

tw actions update [OPTIONS]

Options

OptionDescriptionRequiredDefault
-i, --idAction unique identifierYes
-n, --nameAction nameYes
-s, --statusAction status (pause or active)No
--new-nameUpdated action name. Must be unique per workspace. Names consist of alphanumeric, hyphen, and underscore characters.No
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No
-c, --compute-envCompute environment identifier where the pipeline will run. Defaults to workspace primary compute environment if omitted. Provide the name or identifier.No
--work-dirWork directory path where workflow intermediate files are stored. Defaults to compute environment work directory if omitted.No
-p, --profileArray of Nextflow configuration profile names to apply.No
--params-filePipeline parameters in JSON or YAML format. Provide the path to a file containing the content.No
--revisionGit revision, branch, or tag to use. Use --commit-id to pin to a specific commit within the revision.No
--commit-idSpecific Git commit hash to pin the pipeline execution to.No
--configNextflow configuration as text (overrides config files). Provide the path to a file containing the content.No
--pre-runAdd a script that executes in the nf-launch script prior to invoking Nextflow processes. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--post-runAdd a script that executes after all Nextflow processes have completed. See: https://docs.seqera.io/platform-cloud/launch/advanced#pre-and-post-run-scripts. Provide the path to a file containing the content.No
--pull-latestPull the latest version of the pipeline from the repository.No
--stub-runExecute a stub run for testing (processes return dummy results).No
--main-scriptAlternative main script filename. Default: main.nf.No
--entry-nameWorkflow entry point name when using Nextflow DSL2.No
--schema-nameName of the pipeline schema to use.No
--user-secretsArray of user secrets to make available to the pipeline.No
--workspace-secretsArray of workspace secrets to make available to the pipeline.No

tw actions labels

Manage pipeline action labels

tw actions labels [OPTIONS] [labels]

Arguments

ArgumentDescriptionRequired
<labels>Comma-separated list of labels.No

Options

OptionDescriptionRequiredDefault
-i, --idAction unique identifierYes
-n, --nameAction nameYes
-w, --workspaceWorkspace numeric identifier or reference in OrganizationName/WorkspaceName format (defaults to TOWER_WORKSPACE_ID environment variable)No
--no-createAssign labels without creating the ones which were not found.No
--operations, -oType of operation (set, append, delete) [default: set].Noset