Update update-set-implementation-lists.yml

This commit is contained in:
ExpensiveKoala 2023-06-24 01:07:01 -07:00 committed by GitHub
parent 709ae170db
commit 8165bbc4f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,12 +73,14 @@ jobs:
implemented.push({
pr: false, //TODO: check to see if there is a PR for this card
name: cardData[0],
cleanName: cleanCardName,
scryfall: `https://scryfall.com/search?q=!"${cleanCardName}" e:${set[1]}`
});
} else {
unimplemented.push({
pr: true, //TODO: check to see if there is a PR for this card
name: cardData[0],
cleanName: cleanCardName,
scryfall: `https://scryfall.com/search?q=!"${cleanCardName}" e:${set[1]}`
});
}
@ -90,7 +92,7 @@ jobs:
hasImplementedCards: implemented.length > 0,
unimplementedCards: unimplemented,
implementedCards: implemented,
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${cleanCards.join('"OR!"')}"+e:${set[1]}`
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}`
});
issuesToUpdate.push(foundIssue);
} else {
@ -101,7 +103,7 @@ jobs:
hasImplementedCards: implemented.length > 0,
unimplementedCards: unimplemented,
implementedCards: implemented,
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${cleanCards.join('"OR!"')}"+e:${set[1]}`
unimplementedScryfallLink: `https://scryfall.com/search?q=!"${unimplemented.map(e => e.cleanName).join('"OR!"')}"+e:${set[1]}`
})
});
}