Merge pull request #232 from adafruit/fixing-merged-pr-check
Fixed merged pr check
This commit is contained in:
commit
8f1a98507e
1 changed files with 5 additions and 1 deletions
|
|
@ -987,7 +987,11 @@ class library_validator():
|
|||
insights["pr_authors"].add(pr_info["user"]["login"])
|
||||
insights["active_prs"] += 1
|
||||
else:
|
||||
if pr_info["merged"]:
|
||||
merged = datetime.datetime.strptime(
|
||||
issue["closed_at"],
|
||||
"%Y-%m-%dT%H:%M:%SZ"
|
||||
)
|
||||
if pr_info["merged"] and merged > since:
|
||||
merged_info = ""
|
||||
if show_closed_metric:
|
||||
created = datetime.datetime.strptime(
|
||||
|
|
|
|||
Loading…
Reference in a new issue