You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #127: Handle GitHub bots that have invalid characters in their username
ece77f7 Handle GitHub bots that have invalid characters in their username (Alekos Filini)
Pull request description:
I tried merging a PR that had a codecov comment with the new code coverage, and `github-merge.py` failed with:
```
Warning: unable to retrieve pull information from github: Github username contains invalid characters: codecov[bot]
Traceback (most recent call last):
File "/home/user/Developer/bitcoin-maintainer-tools//github-merge.py", line 480, in <module>
main()
File "/home/user/Developer/bitcoin-maintainer-tools//github-merge.py", line 429, in main
comments = retrieve_pr_comments(repo_from,pull,ghtoken) + retrieve_pr_reviews(repo_from,pull,ghtoken)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
```
I thought it would have been more conservative to just explicitly remove the `[bot]` suffix rather than adding square brackets to the regex.
Top commit has no ACKs.
Tree-SHA512: a617cec72ef9427f798e8c88f7c0873b46a2145e9f11620428de098241aefc7818a873efb5345dc659c6652bc55ee1b5dc6a72edb5fe72ac973d1a2ae60dda2b
0 commit comments