File tree Expand file tree Collapse file tree 5 files changed +208
-171
lines changed Expand file tree Collapse file tree 5 files changed +208
-171
lines changed Original file line number Diff line number Diff line change 1- v1.8.2
1+ v1.8.4
Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ def get_pull_request(payload):
4545
4646def get_trad_team_members () -> set :
4747 logger .debug ("Getting default reviewers from team members" )
48- return {user .login for user in gh .get_organization ("afpy" ).get_team_by_slug ("traduction" ).get_members ()}
48+ return {
49+ user .login
50+ for user in gh .get_organization ("afpy" ).get_team_by_slug ("traduction" ).get_members ()
51+ if user .login != "PyDocTeur"
52+ }
4953
5054
5155def has_pr_number (payload ) -> bool :
Original file line number Diff line number Diff line change 1010def is_pr_tests_passed (pr ):
1111 logger .info (f"Checking PR #{ pr .number } CI results" )
1212 last_commit = [commit for commit in pr .get_commits ()][- 1 ]
13- check_suites = last_commit .get_check_suites ()
13+ check_suites = [ suite for suite in last_commit .get_check_suites () if suite . app . name == "GitHub Actions" ]
1414 statuses = [suite .status for suite in check_suites ]
1515 conclusions = [suite .conclusion for suite in check_suites ]
1616 are_all_checks_done = all (status == "completed" for status in statuses )
You can’t perform that action at this time.
0 commit comments