From 4fa1c74cbadc5371d25cc466aa0a6d181eb694f5 Mon Sep 17 00:00:00 2001 From: raffitamizian Date: Thu, 7 Sep 2023 14:37:02 +0100 Subject: [PATCH] Enables dry-run for yeoman scaffolder action Signed-off-by: raffitamizian --- .changeset/big-spies-agree.md | 5 +++++ .../src/actions/run/yeoman.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/big-spies-agree.md diff --git a/.changeset/big-spies-agree.md b/.changeset/big-spies-agree.md new file mode 100644 index 0000000000..1c544f4f36 --- /dev/null +++ b/.changeset/big-spies-agree.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder-backend-module-yeoman': patch +--- + +Enables dry-run functionality for the run:yeoman scaffolder action diff --git a/plugins/scaffolder-backend-module-yeoman/src/actions/run/yeoman.ts b/plugins/scaffolder-backend-module-yeoman/src/actions/run/yeoman.ts index 89ea10b6a6..62d62807ae 100644 --- a/plugins/scaffolder-backend-module-yeoman/src/actions/run/yeoman.ts +++ b/plugins/scaffolder-backend-module-yeoman/src/actions/run/yeoman.ts @@ -61,6 +61,7 @@ export function createRunYeomanAction() { }, }, }, + supportsDryRun: true, async handler(ctx) { ctx.logger.info( `Templating using Yeoman generator: ${ctx.input.namespace}`,