mirror of https://github.com/google/oss-fuzz.git
fix PR helper when commits have no author. (#10959)
PR helper fails when author information is null. Adding a check before get login name. ![image](https://github.com/google/oss-fuzz/assets/39108850/f4f3aaa8-3edb-4745-93e1-c6da047d0b7b) https://github.com/google/oss-fuzz/issues/10955
This commit is contained in:
parent
868a94f2f0
commit
d81e44f16c
|
@ -243,6 +243,9 @@ class GithubHandler:
|
|||
if i >= COMMITS_LIMIT:
|
||||
break
|
||||
|
||||
if not commit['author'] or not commit['commit']:
|
||||
continue
|
||||
|
||||
login = commit['author']['login']
|
||||
verified = commit['commit']['verification']['verified']
|
||||
if login in self._maintainers:
|
||||
|
|
Loading…
Reference in New Issue