You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2022/09/14 11:52:25 UTC

[beam] branch users/damccorm/assignees created (now 2eacbcf13d5)

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a change to branch users/damccorm/assignees
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 2eacbcf13d5 Fix assignees check

This branch includes the following new commits:

     new 2eacbcf13d5 Fix assignees check

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[beam] 01/01: Fix assignees check

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/assignees
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 2eacbcf13d539248a9d3a997a36ef7fd6af9179d
Author: Danny McCormick <da...@google.com>
AuthorDate: Wed Sep 14 07:52:19 2022 -0400

    Fix assignees check
---
 scripts/ci/issue-report/generateReport.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/ci/issue-report/generateReport.js b/scripts/ci/issue-report/generateReport.js
index 07dd92f3df8..9c7ce333a02 100644
--- a/scripts/ci/issue-report/generateReport.js
+++ b/scripts/ci/issue-report/generateReport.js
@@ -77,10 +77,10 @@ async function generateReport() {
         repo: 'beam',
         labels: 'P1'
     });
-    const unassignedP0Issues = p0Issues.filter(i => i.assignee == null || i.assignee.length == 0);
-    const oldP0Issues = p0Issues.filter(i => i.assignee != null && i.assignee.length > 0 && getDateAge(i.updated_at) > 36*ONE_HOUR)
-    const unassignedP1Issues = p1Issues.filter(i => i.assignee == null || i.assignee.length == 0);;
-    const oldP1Issues = p1Issues.filter(i => i.assignee != null && i.assignee.length > 0 && getDateAge(i.updated_at) > 7*24*ONE_HOUR)
+    const unassignedP0Issues = p0Issues.filter(i => i.assignees.length == 0);
+    const oldP0Issues = p0Issues.filter(i => i.assignees.length > 0 && getDateAge(i.updated_at) > 36*ONE_HOUR)
+    const unassignedP1Issues = p1Issues.filter(i => i.assignees.length == 0);;
+    const oldP1Issues = p1Issues.filter(i => i.assignees.length > 0 && getDateAge(i.updated_at) > 7*24*ONE_HOUR)
     if (unassignedP0Issues.length > 0) {
         shouldSend = true;
         report += formatIssues("Unassigned P0 Issues:", unassignedP0Issues);