From 22e6bc6b49324edd8ed06360edce7c79d76f5cdf Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 28 Aug 2025 09:34:44 +0200 Subject: [PATCH] Update lib/main.js Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> --- lib/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.js b/lib/main.js index b073f20..4b3d352 100644 --- a/lib/main.js +++ b/lib/main.js @@ -26,9 +26,9 @@ export async function main( skipTokenRevoke, ) { - // Validate mutual exclusivity of enterprise with owner/repositories - if (enterprise && (owner || repositories.length > 0)) { - throw new Error("Cannot use 'enterprise' input with 'owner' or 'repositories' inputs"); + // Validate mutual exclusivity of enterprise-slug with owner/repositories + if (enterpriseSlug && (owner || repositories.length > 0)) { + throw new Error("Cannot use 'enterprise-slug' input with 'owner' or 'repositories' inputs"); } let parsedOwner = "";