diff --git a/src/configuration.ts b/src/configuration.ts index 6ab27f56..edf9a6d7 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -174,7 +174,7 @@ export const NEEDED_LABELS: Label[] = [{ return { color: '#FFECDB', description: 'An issue that specifically applies to this platform', - name: `platform-${platform}`, + name: `platform::${platform}`, }; })); diff --git a/src/tasks/tidy.ts b/src/tasks/tidy.ts index 2c08166e..1759fac0 100644 --- a/src/tasks/tidy.ts +++ b/src/tasks/tidy.ts @@ -411,11 +411,13 @@ export async function tidy(api: Api) { const groups = GROUPS.slice(); groups.push.apply(groups, (await api.getSubGroupsForGroup(groups[0])).map((group) => group.id)); - // get projects of groups - const projects = await getProjects(api, groups); + // get non archived projects of groups + let projects = await getProjects(api, groups); + projects = projects.filter(project => !project.archived); await Promise.all([ - await tidyLabels(api, projects), + // Labels are now specified at Group level + // await tidyLabels(api, projects), await tidyMilestones(api, projects), await tidyProtectedBranches(api, projects), await tidyProtectedTags(api, projects),