Merge pull request #7780 from backstage/joonp/provide-scaffolder-template-metadata

Expose template metadata to custom action handler
This commit is contained in:
Ben Lambert
2021-11-17 20:59:11 +01:00
committed by GitHub
11 changed files with 103 additions and 0 deletions
@@ -91,6 +91,8 @@ argument. It looks like the following:
- `createTemporaryDirectory` a function to call to give you a temporary
directory somewhere on the runner so you can store some files there rather
than polluting the `workspacePath`
- `ctx.metadata` - an object containing a `name` field, indicating the template
name. More metadata fields may be added later.
### Registering Custom Actions