class OnRunState
A run state changes.
Examples:
Define an event that triggers for any run in project “my-project” when
its state changes to “finished” (i.e. succeeded) or “failed”:
method OnRunState.__init__
event_type(Literal[RUN_STATE]):scope(ProjectScope): The scope of the event: must be a project.filter(RunStateFilter): Run state condition(s) that must be satisfied for this event to trigger.
OnRunState object.