Bug 1415868 - rewrite actions to use kind=hook (DO NOT LAND)
This just rewrites the `retrigger` action. It does not consider the
possibility of abuse. At a minimum, that will require not trusting ACTION_TASK,
ACTION_PARAMETERS, etc.
MozReview-Commit-ID: 6E3S38lju7q
--- a/taskcluster/taskgraph/actions/retrigger.py
+++ b/taskcluster/taskgraph/actions/retrigger.py
@@ -15,16 +15,18 @@ from .util import (
from .registry import register_callback_action
logger = logging.getLogger(__name__)
@register_callback_action(
title='Retrigger',
name='retrigger',
+ kind='hook',
+ generic=True,
symbol='rt',
description=(
'Create a clone of the task.\n\n'
),
order=1,
context=[{}],
schema={
'type': 'object',