Action (autotransform.step.action.base)
The base class and associated classes for Action components.
- class autotransform.step.action.base.Action
Bases:
NamedComponentThe base for Action components. Used by AutoTransform to perform some task on outstanding Changes based on Steps in the Manager. Tasks include options such as updating, abandoning, merging, and more.
- name
The name of the component.
- Type:
ClassVar[ActionName]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: ClassVar[ActionName]
- class autotransform.step.action.base.ActionName(value)
Bases:
str,EnumA simple enum for mapping.
- ABANDON = 'abandon'
- ADD_LABELS = 'add_labels'
- ADD_OWNERS_AS_REVIEWERS = 'add_owners_as_reviewers'
- ADD_OWNERS_AS_TEAM_REVIEWERS = 'add_owners_as_team_reviewers'
- ADD_REVIEWERS = 'add_reviewers'
- COMMENT = 'comment'
- MERGE = 'merge'
- NONE = 'none'
- REMOVE_LABEL = 'remove_label'
- REQUEST = 'request'
- UPDATE = 'update'