scaffolder: enable each property on task step (#8890)

Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
This commit is contained in:
Alex Eftimie
2023-06-07 03:46:41 +02:00
parent f0c6887bbb
commit a0303ee5ef
4 changed files with 94 additions and 20 deletions
+5 -1
View File
@@ -15,7 +15,7 @@
*/
import type { EntityMeta, UserEntity } from '@backstage/catalog-model';
import type { JsonObject, JsonValue } from '@backstage/types';
import type { JsonArray, JsonObject, JsonValue } from '@backstage/types';
/**
* Information about a template that is stored on a task specification.
@@ -70,6 +70,10 @@ export interface TaskStep {
* When this is false, or if the templated value string evaluates to something that is falsy the step will be skipped.
*/
if?: string | boolean;
/**
* Run step repeatedly
*/
each?: string | JsonArray;
}
/**