- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for get_pull (0.03 sec)
-
scripts/notify_translations.py
f"Sleeping for {sleep_time} seconds to avoid " "race conditions and multiple comments" ) time.sleep(sleep_time) # Get PR logging.debug(f"Processing PR: #{number}") pr = repo.get_pull(number) label_strs = {label.name for label in pr.get_labels()} langs = [] for label in label_strs: if label.startswith("lang-") and not label == lang_all_label: langs.append(label[5:])Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.7K bytes - Viewed (0) -
scripts/deploy_docs_status.py
g = Github(auth=Auth.Token(settings.github_token.get_secret_value())) repo = g.get_repo(settings.github_repository) use_pr = next( (pr for pr in repo.get_pulls() if pr.head.sha == settings.commit_sha), None ) if not use_pr: logging.error(f"No PR found for hash: {settings.commit_sha}") return commits = list(use_pr.get_commits())
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 05:56:53 UTC 2025 - 4.4K bytes - Viewed (0)