From 1b22947b230833aa95ffcd271246ef627433f5aa Mon Sep 17 00:00:00 2001 From: Florian Gebhardt Date: Mon, 5 Aug 2024 05:45:59 +0200 Subject: [PATCH] feat: allow info.json validation to be skipped --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ad55e24..6a19aad 100644 --- a/index.js +++ b/index.js @@ -18,8 +18,10 @@ async function verifyConditions(config, context) { const errors = []; try { - const info = await readInfoFile(config, context); - isInfoValid(config, context, info); + if (config.skip_validation !== true) { + const info = await readInfoFile(config, context); + isInfoValid(config, context, info); + } await verifyToken(config, context, info.name); } catch (error) {