@@ -741,7 +741,10 @@ def update_merge_group(self, installation_id, github_repository_id, merge_group_
741741 # Skip whitelisted bots per org/repo GitHub login/email regexps
742742 # repo can be defined as '*' (all repos) or re:<regexp> (regexp to match repo name) or 'repo-name' for exact match
743743 # the same for value which is GitHub login match then ; separator and then email match (same matching via * or re:<regexp> or exact-match)
744- missing , signed = self .skip_whitelisted_bots (github_org , repository .get_repository_name (), missing )
744+ missing , whitelisted = self .skip_whitelisted_bots (github_org , repository .get_repository_name (), missing )
745+ if whitelisted is not None and len (whitelisted ) > 0 :
746+ cla .log .debug (f"{ fn } - adding { len (whitelisted )} whitelisted actors to signed list" )
747+ signed .extend (whitelisted )
745748
746749 # update Merge group status
747750 self .update_merge_group_status (
@@ -906,7 +909,10 @@ def update_change_request(self, installation_id, github_repository_id, change_re
906909 # Skip whitelisted bots per org/repo GitHub login/email regexps
907910 # repo can be defined as '*' (all repos) or re:<regexp> (regexp to match repo name) or 'repo-name' for exact match
908911 # the same for value which is GitHub login match then ; separator and then email match (same matching via * or re:<regexp> or exact-match)
909- missing , signed = self .skip_whitelisted_bots (github_org , repository .get_repository_name (), missing )
912+ missing , whitelisted = self .skip_whitelisted_bots (github_org , repository .get_repository_name (), missing )
913+ if whitelisted is not None and len (whitelisted ) > 0 :
914+ cla .log .debug (f"{ fn } - adding { len (whitelisted )} whitelisted actors to signed list" )
915+ signed .extend (whitelisted )
910916 # At this point, the signed and missing lists are now filled and updated with the commit user info
911917
912918 cla .log .debug (
0 commit comments