- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Repo (0.14 sec)
-
.github/actions/comment-docs-preview-in-pr/app/main.py
g = Github(settings.input_token.get_secret_value()) repo = g.get_repo(settings.github_repository) try: event = PartialGithubEvent.parse_file(settings.github_event_path) except ValidationError as e: logging.error(f"Error parsing event file: {e.errors()}") sys.exit(0) use_pr: Union[PullRequest, None] = None for pr in repo.get_pulls(): if pr.head.sha == event.workflow_run.head_commit.id:
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 15:02:53 GMT 2024 - 2.1K bytes - Viewed (0) -
.github/actions/notify-translations/app/main.py
else: logging.basicConfig(level=logging.INFO) logging.debug(f"Using config: {settings.json()}") g = Github(settings.input_token.get_secret_value()) repo = g.get_repo(settings.github_repository) if not settings.github_event_path.is_file(): raise RuntimeError( f"No github event file available at: {settings.github_event_path}" )
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 23:01:46 GMT 2023 - 12.4K bytes - Viewed (0) -
configure.py
' setting TF_NEED_CLANG=0' ), ) write_action_env_to_bazelrc('CLANG_COMPILER_PATH', clang_compiler_path) write_to_bazelrc('build --repo_env=CC=%s' % clang_compiler_path) write_to_bazelrc('build --repo_env=BAZEL_COMPILER=%s' % clang_compiler_path) return clang_compiler_path def set_clang_compiler_path_win(environ_cp): """Set CLANG_COMPILER_PATH and environment variables.
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0) -
.github/actions/people/app/main.py
logging.basicConfig(level=logging.INFO) settings = Settings() logging.info(f"Using config: {settings.model_dump_json()}") g = Github(settings.input_token.get_secret_value()) repo = g.get_repo(settings.github_repository) discussion_nodes = get_discussion_nodes(settings=settings) experts_results = get_discussions_experts(discussion_nodes=discussion_nodes) pr_nodes = get_pr_nodes(settings=settings)
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1)