Skip to content

Commit

Permalink
once again
Browse files Browse the repository at this point in the history
  • Loading branch information
soehms committed Sep 19, 2023
1 parent 007bbc9 commit a1cc57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/sync_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ def actor_valid(self):
return False

coms = self.get_commits()
authors = [com['authors'] for com in coms]
authors = [auth for auth in authors if not auth['login'] in (self._actor, 'github-actions')]
authors = [com['authors']['login'] for com in coms]
authors = [auth for auth in authors if not auth in (self._actor, 'github-actions')]
if not authors:
info('PR %s can\'t be approved by the author %s since no other person commited to it' % (self._issue, self._actor))
return False
Expand Down

0 comments on commit a1cc57d

Please sign in to comment.