Lines Matching +full:python3 +full:- +full:github
1 #!/usr/bin/env python3
2 # SPDX-License-Identifier: BSD-2-Clause
14 # REPO: the name of the target repository (normally: OP-TEE/optee_os)
26 from github import Github
27 from github import Auth
31 """Parse get_maintainer.py output and return GitHub handles to notify.
42 if handle_start == -1 or handle_end == -1:
49 if paren_start != -1 and paren_end != -1:
75 handles_to_mention = handles - the_rest_handles
80 """Run get_maintainer.py with -g PR_NUMBER and parse handles."""
83 "-g", pr_number
93 print('This script must be run in GitHub Actions')
108 g = Github(token)
115 existing_handles.update(re.findall(r"@([\w-]+)", comment.body))
132 new_handles = handles_to_mention - existing_handles - skip_handles
137 "or are already notified by GitHub.")