Commit 47aa0802 authored by Anas Nashif's avatar Anas Nashif
Browse files

ci: scripts: do not count PRs labeled as bug in snapshot



Doing duplicates count of bugs, a PR fixing a bug is not a bug report.
Many PRs fixing an open bug are labeled with 'bug' and thuse are being
counted twice.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent ca02651f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ def open_out_file(args: argparse.Namespace) -> BinaryIO:

def main() -> None:
    args = parse_args()
    open_bugs = get_open_bugs()
    open_bugs = [issue for issue in get_open_bugs() if not issue.pull_request]

    with open_out_file(args) as out_file:
        pickle.dump(open_bugs, out_file)