Lines Matching +full:check +full:- +full:pr

4 # SPDX-License-Identifier: Apache-2.0
31 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml",
35 group.add_argument("-P", "--pull_request", required=False, default=None, type=int,
36 help="Operate on one pull-request only.")
37 group.add_argument("-I", "--issue", required=False, default=None, type=int,
39 group.add_argument("-s", "--since", required=False,
40 help="Process pull-requests since date.")
41 group.add_argument("-m", "--modules", action="store_true",
42 help="Process pull-requests from modules.")
44 parser.add_argument("-y", "--dry-run", action="store_true", default=False,
47 parser.add_argument("-o", "--org", default="zephyrproject-rtos",
50 parser.add_argument("-r", "--repo", default="zephyr",
53 parser.add_argument("-v", "--verbose", action="count", default=0,
61 pr = gh_repo.get_pull(number)
63 log(f"working on https://github.com/{args.org}/{args.repo}/pull/{pr.number} : {pr.title}")
71 fn = list(pr.get_files())
77 if pr.commits == 1 and (pr.additions <= 1 and pr.deletions <= 1):
122 log(f"Submitted by: {pr.user.login}")
136 if pr.user.login in area.maintainers:
160 pr.add_to_labels(l)
168 revs = pr.get_reviews()
172 rl = pr.get_review_requests()
178 # check for reviewers that remove themselves from list of reviewer and
181 for event in pr.get_issue_events():
188 if pr.user == gh_user or gh_user in existing_reviewers:
201 reviewer_vacancy = 15 - len(existing_reviewers)
208 pr.create_review_request(reviewers=reviewers)
217 if assignees and not pr.assignee:
228 pr.add_to_assignees(mm)
314 query = f"is:open is:pr no:assignee"
366 since = today - datetime.timedelta(days=1)
368 …common_prs = f'repo:{args.org}/{args.repo} is:open is:pr base:main -is:draft no:assignee created:>…