mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
fix: do not add issues to report from backlog
This commit is contained in:
@@ -103,6 +103,11 @@ export async function tidyOpenIssuesWithoutMeetingLabel(api: Api): Promise<void>
|
|||||||
logger.info(`Filtered ${openIssuesWithoutMeetingLabel.length} open issue(s) without label 'meeting'.`);
|
logger.info(`Filtered ${openIssuesWithoutMeetingLabel.length} open issue(s) without label 'meeting'.`);
|
||||||
|
|
||||||
await asyncPool(5, openIssuesWithoutMeetingLabel, async (issue) => {
|
await asyncPool(5, openIssuesWithoutMeetingLabel, async (issue) => {
|
||||||
|
if (issue.milestone !== null && issue.milestone.title === 'Backlog') {
|
||||||
|
logger.info(`Skipping issue "${issue.title}" because it is in backlog.`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
return api.createNote(
|
return api.createNote(
|
||||||
issue.project_id,
|
issue.project_id,
|
||||||
issue.iid,
|
issue.iid,
|
||||||
|
|||||||
Reference in New Issue
Block a user