mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-11 12:12:55 +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'.`);
|
||||
|
||||
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(
|
||||
issue.project_id,
|
||||
issue.iid,
|
||||
|
||||
Reference in New Issue
Block a user