From 1b6b990bdd05af5fab555f4427ee5dbf093205ca Mon Sep 17 00:00:00 2001 From: Luca Lanziani Date: Sun, 2 Jun 2024 15:42:41 +0200 Subject: [PATCH 1/3] Add issues with waiting-for-code-owners label to the weekly report --- .github/workflows/scripts/generate-weekly-report.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/scripts/generate-weekly-report.js b/.github/workflows/scripts/generate-weekly-report.js index 45b463357f65..0f34f0dffbdb 100644 --- a/.github/workflows/scripts/generate-weekly-report.js +++ b/.github/workflows/scripts/generate-weekly-report.js @@ -114,6 +114,10 @@ async function getIssuesData({octokit, context}) { filterPrs: true, alias: "issuesSponsorNeeded", }, + "waiting-for-code-owners": { + filterPrs: true, + alias: "issuesCodeOwnerNeeded", + } }; const issuesNew = await getNewIssues({octokit, context}); @@ -151,6 +155,11 @@ async function getIssuesData({octokit, context}) { count: 0, data: [] }, + issuesCodeOwnerNeeded: { + title: "New isseus needing code owners", + count: 0, + data: [] + } } // add new issues From 3126297d60282492531a85792051f603e4a68dfb Mon Sep 17 00:00:00 2001 From: Luca Lanziani Date: Mon, 3 Jun 2024 13:43:21 +0200 Subject: [PATCH 2/3] Update .github/workflows/scripts/generate-weekly-report.js Co-authored-by: Pablo Baeyens --- .github/workflows/scripts/generate-weekly-report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/generate-weekly-report.js b/.github/workflows/scripts/generate-weekly-report.js index 0f34f0dffbdb..8c8fa9b7dae1 100644 --- a/.github/workflows/scripts/generate-weekly-report.js +++ b/.github/workflows/scripts/generate-weekly-report.js @@ -156,7 +156,7 @@ async function getIssuesData({octokit, context}) { data: [] }, issuesCodeOwnerNeeded: { - title: "New isseus needing code owners", + title: "New issues needing code owners", count: 0, data: [] } From 96a361227592334d788304af6c30a9691b56e832 Mon Sep 17 00:00:00 2001 From: Luca Lanziani Date: Wed, 5 Jun 2024 20:46:48 +0200 Subject: [PATCH 3/3] Include PRs in the Issues needing code owner section --- .github/workflows/scripts/generate-weekly-report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/generate-weekly-report.js b/.github/workflows/scripts/generate-weekly-report.js index 8c8fa9b7dae1..35277439b923 100644 --- a/.github/workflows/scripts/generate-weekly-report.js +++ b/.github/workflows/scripts/generate-weekly-report.js @@ -115,7 +115,7 @@ async function getIssuesData({octokit, context}) { alias: "issuesSponsorNeeded", }, "waiting-for-code-owners": { - filterPrs: true, + filterPrs: false, alias: "issuesCodeOwnerNeeded", } }; @@ -156,7 +156,7 @@ async function getIssuesData({octokit, context}) { data: [] }, issuesCodeOwnerNeeded: { - title: "New issues needing code owners", + title: "Issues and PRs that need code owner review", count: 0, data: [] }