action
type
Methods for an action.
action.owner
def action.owner() -> "configured_target_label"
Gets the owning configured target label for an action.
Sample usage:
def _impl_action(ctx):
action = ctx.audit().output("buck-out/path/to/__target__/artifact", "your_target_platform")
ctx.output.print(action.owner())