diff --git a/zuul/connection/github.py b/zuul/connection/github.py index 7211e622e4..41052c1c37 100644 --- a/zuul/connection/github.py +++ b/zuul/connection/github.py @@ -322,9 +322,7 @@ def _status_as_tuple(self, status): if not creator: user = "Unknown" else: - user = creator.get('login', '') - - user = user.replace('anne-bonny', 'bonnyci[bot]') + user = creator.get('login') context = status.get('context') state = status.get('state') return (user, context, state) diff --git a/zuul/trigger/github.py b/zuul/trigger/github.py index 014dc2a98a..ab1d1d91fd 100644 --- a/zuul/trigger/github.py +++ b/zuul/trigger/github.py @@ -32,9 +32,6 @@ def toList(item): efilters = [] for trigger in toList(trigger_config): - statuses = [s.replace('anne-bonny', 'bonnyci[bot]') - for s in toList(trigger.get('status'))] - f = EventFilter( trigger=self, types=toList(trigger['event']), @@ -43,7 +40,7 @@ def toList(item): comments=toList(trigger.get('comment')), labels=toList(trigger.get('label')), states=toList(trigger.get('state')), - event_statuses=statuses + event_statuses=toList(trigger.get('status')) ) efilters.append(f)