From 73e6d45e6d6cb5cf7e71d0c31299c69299ce9020 Mon Sep 17 00:00:00 2001 From: Paul Keen <125715+pftg@users.noreply.github.com> Date: Tue, 14 Mar 2023 21:41:05 +0100 Subject: [PATCH] Drop confused warning about secret In GitHub, there are secrets and env entities, and sharing that this action requires a secret is misleading. --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a66ed69..58b475b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -38,7 +38,7 @@ async function run(): Promise { await send(url, jobName, jobStatus, jobSteps, channel, message, config) core.info(`Sent ${jobName} status of ${jobStatus} to Slack!`) } else { - core.warning('No "SLACK_WEBHOOK_URL"s secret or "webhook-url" input configured. Skip.') + core.warning('No "SLACK_WEBHOOK_URL"s env or "webhook-url" input configured. Skip.') } } catch (error) { if (error instanceof Error) core.setFailed(error.message)