Update update-set-implementation-lists.yml

This commit is contained in:
ExpensiveKoala 2024-09-29 14:42:23 -07:00 committed by GitHub
parent a5270aba19
commit dc38f67119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,8 @@ jobs:
hasImplementedCards: implemented.length > 0, hasImplementedCards: implemented.length > 0,
unimplementedCards: unimplemented, unimplementedCards: unimplemented,
implementedCards: implemented, implementedCards: implemented,
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}` unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}`,
setName: set[0]
}); });
// GH API has a max character length of 65536 for issue body. We can try to cut down on unnecessary fat to try to get it to fit. // GH API has a max character length of 65536 for issue body. We can try to cut down on unnecessary fat to try to get it to fit.
@ -144,7 +145,8 @@ jobs:
hasImplementedCards: implemented.length > 0, hasImplementedCards: implemented.length > 0,
unimplementedCards: unimplemented, unimplementedCards: unimplemented,
implementedCards: implemented, implementedCards: implemented,
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}` unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}`,
setName: set[0]
}).replaceAll("--", "-").replaceAll("https://", "").replaceAll(`+e:${set[1]}`, ""); }).replaceAll("--", "-").replaceAll("https://", "").replaceAll(`+e:${set[1]}`, "");
console.log(`Trimmed body length: ${trimmedBody.length}`); console.log(`Trimmed body length: ${trimmedBody.length}`);
if (trimmedBody.length > 65536) { if (trimmedBody.length > 65536) {