diff --git a/dist/index.js b/dist/index.js index a538284..088c612 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9847,9 +9847,17 @@ const run = async () => { return statuses.includes(item.fields.status); }); + console.log( + `Archiving ${filteredItems.length} items from iteration ${iteration.title} with statuses ${statuses}...` + ); await Promise.all( filteredItems.map((item) => project.items.archive(item.id)) ); + console.log( + `Successfully archived items ${filteredItems + .map((item) => item.id) + .join(", ")}.` + ); } catch (error) { core.setFailed(error.message); } diff --git a/index.js b/index.js index 8139f0f..0685228 100644 --- a/index.js +++ b/index.js @@ -36,9 +36,17 @@ const run = async () => { return statuses.includes(item.fields.status); }); + console.log( + `Archiving ${filteredItems.length} items from iteration ${iteration.title} with statuses ${statuses}...` + ); await Promise.all( filteredItems.map((item) => project.items.archive(item.id)) ); + console.log( + `Successfully archived items ${filteredItems + .map((item) => item.id) + .join(", ")}.` + ); } catch (error) { core.setFailed(error.message); }