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:
Anas Nashif 2024-07-11 10:41:03 -04:00
parent ca02651f01
commit 47aa08026f
1 changed files with 1 additions and 1 deletions

View File

@ -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)