diff --git a/.github/workflows/update-set-implementation-lists.yml b/.github/workflows/update-set-implementation-lists.yml index 59e999c832e..13aaa20747b 100644 --- a/.github/workflows/update-set-implementation-lists.yml +++ b/.github/workflows/update-set-implementation-lists.yml @@ -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]}` }) }); }