We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d0d12 commit 46c8e5aCopy full SHA for 46c8e5a
tests/ci/clickhouse_helper.py
@@ -219,7 +219,7 @@ def prepare_tests_results_for_clickhouse(
219
) -> List[dict]:
220
base_ref = pr_info.base_ref
221
base_repo = pr_info.base_name
222
- head_ref = pr_info.head_ref
+ head_ref = pr_info.head_branch
223
head_repo = pr_info.head_name
224
pull_request_url = f"https://github.com/{GITHUB_REPOSITORY}/commits/{head_ref}"
225
if pr_info.number != 0:
tests/ci/pr_info.py
@@ -328,6 +328,8 @@ def __init__(
328
self.head_ref = ref
329
self.head_name = self.repo_full_name
330
331
+ self.head_branch = github_event.get("head_branch", "unknown branch")
332
+
333
if need_changed_files:
334
self.fetch_changed_files()
335
0 commit comments