Skip to content

Commit b086eae

Browse files
authored
Merge pull request ClickHouse#79087 from ClickHouse/revert-79086-revert-79055-ci_fix_cidb_insert_data
Revert "Revert "CI: Fix head_repo inserted into ci db from forks""
2 parents 6acfd49 + 09da445 commit b086eae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/praktika/_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def from_env(cls) -> "_Environment":
5656
RUN_URL = f"https://github.com/{REPOSITORY}/actions/runs/{RUN_ID}"
5757
BASE_BRANCH = os.getenv("GITHUB_BASE_REF", "")
5858
USER_LOGIN = ""
59-
FORK_NAME = ""
59+
FORK_NAME = REPOSITORY
6060
PR_BODY = ""
6161
PR_TITLE = ""
6262
PR_LABELS = []

ci/praktika/cidb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def json_data_generator(cls, result: Result, result_name_for_cidb):
7575
base_ref=env.BASE_BRANCH,
7676
base_repo=env.REPOSITORY,
7777
head_ref=env.BRANCH,
78-
head_repo=env.REPOSITORY, # TODO: remove from table?
78+
head_repo=env.FORK_NAME,
7979
task_url="",
8080
instance_type=",".join(
8181
filter(None, [env.INSTANCE_TYPE, env.INSTANCE_LIFE_CYCLE])

0 commit comments

Comments
 (0)