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: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ca02651f01
commit
47aa08026f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue