Update lib/main.js

Co-authored-by: Parker Brown <[email protected]>
This commit is contained in:
Stefan
2025-08-28 09:34:44 +02:00
committed by GitHub
co-authored by Parker Brown
parent 3b3f07c3d1
commit 22e6bc6b49
+3 -3
View File
@@ -26,9 +26,9 @@ export async function main(
skipTokenRevoke, skipTokenRevoke,
) { ) {
// Validate mutual exclusivity of enterprise with owner/repositories // Validate mutual exclusivity of enterprise-slug with owner/repositories
if (enterprise && (owner || repositories.length > 0)) { if (enterpriseSlug && (owner || repositories.length > 0)) {
throw new Error("Cannot use 'enterprise' input with 'owner' or 'repositories' inputs"); throw new Error("Cannot use 'enterprise-slug' input with 'owner' or 'repositories' inputs");
} }
let parsedOwner = ""; let parsedOwner = "";