From 6dcd72ae3e7d00190708e100300a42dc1a263445 Mon Sep 17 00:00:00 2001 From: Tavi Nolan Date: Thu, 4 Apr 2024 16:25:40 +0100 Subject: [PATCH] updated githubWebhook variable and comment Signed-off-by: Tavi Nolan --- .../src/actions/githubWebhook.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/scaffolder-backend-module-github/src/actions/githubWebhook.ts b/plugins/scaffolder-backend-module-github/src/actions/githubWebhook.ts index e0e124a1c0..9b3ccdac07 100644 --- a/plugins/scaffolder-backend-module-github/src/actions/githubWebhook.ts +++ b/plugins/scaffolder-backend-module-github/src/actions/githubWebhook.ts @@ -149,14 +149,8 @@ export function createGithubWebhookAction(options: { }), ); - // If this is a dry run, log the arguments and exit + // If this is a dry run, log and return if (ctx.isDryRun) { - const dryRunArgs = { - webhookSecret, - events, - ...ctx.input, - }; - ctx.logger.info(`Dry run completed`); return; }