mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
Update update-set-implementation-lists.yml
This commit is contained in:
parent
a5270aba19
commit
dc38f67119
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue