From 19516a4a5894304d476cb2d7c0bcd6f439305c38 Mon Sep 17 00:00:00 2001 From: Simon Tremblay Date: Sat, 19 Aug 2023 02:57:30 -0400 Subject: [PATCH] fix #176 by removing useless warning message (#177) --- main.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.js b/main.js index 549e1d1f9..907d5f2ca 100644 --- a/main.js +++ b/main.js @@ -96,10 +96,6 @@ async function main() { throw new Error("Server address must be specified") } - if (!username || !password) { - core.warning("Username and password not specified. You should only do this if you are using a self-hosted runner to access an on-premise mail server.") - } - const transport = nodemailer.createTransport({ host: serverAddress, auth: username && password ? {