Skip to content

Commit 9ed8032

Browse files
committed
Use repository names for WoA cross-repository identity
1 parent c3a91d6 commit 9ed8032

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎.github/workflows/woa-transport-check.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
(.status == "ahead" or .status == "identical")' \
5050
<<< "$comparison" >/dev/null
5151
52-
correlation_id="smoke:381173759:main:$public_sha:${GITHUB_RUN_ID}:${GITHUB_RUN_ATTEMPT}"
52+
correlation_id="smoke:NVIDIA/cuda-python:main:$public_sha:${GITHUB_RUN_ID}:${GITHUB_RUN_ATTEMPT}"
5353
echo "public_sha=$public_sha" >> "$GITHUB_OUTPUT"
5454
echo "correlation_id=$correlation_id" >> "$GITHUB_OUTPUT"
5555
echo "Transport smoke will report on public main commit \`$public_sha\`." >> "$GITHUB_STEP_SUMMARY"
@@ -86,7 +86,6 @@ jobs:
8686
inputs: {
8787
schema_version: "2",
8888
public_repository: "NVIDIA/cuda-python",
89-
public_repository_id: "381173759",
9089
public_sha: $public_sha,
9190
correlation_id: $correlation_id
9291
}
@@ -101,7 +100,7 @@ jobs:
101100
-H 'X-GitHub-Api-Version: 2026-03-10' \
102101
"repos/NVIDIA-dev/cuda-python-private/actions/runs/$private_run_id")
103102
jq -e '
104-
.repository.id == 809898190 and
103+
.repository.full_name == "NVIDIA-dev/cuda-python-private" and
105104
.path == ".github/workflows/ctk-next-woa-transport-check.yml" and
106105
.event == "workflow_dispatch" and
107106
.head_branch == "ctk-next"

‎.github/workflows/woa-validation-dispatch.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
-H 'X-GitHub-Api-Version: 2026-03-10' \
4444
"repos/NVIDIA/cuda-python/actions/runs/$PUBLIC_RUN_ID")
4545
jq -e '
46-
.repository.id == 381173759 and
46+
.repository.full_name == "NVIDIA/cuda-python" and
4747
.workflow_id == 155304118 and
4848
.path == ".github/workflows/ci.yml" and
4949
.event == "push" and
@@ -109,7 +109,7 @@ jobs:
109109
(.digest | test("^sha256:[0-9a-f]{64}$")))
110110
' <<< "$artifacts_json" >/dev/null
111111
112-
correlation_id="v1:381173759:$PUBLIC_RUN_ID:$public_run_attempt:$public_sha"
112+
correlation_id="v1:NVIDIA/cuda-python:$PUBLIC_RUN_ID:$public_run_attempt:$public_sha"
113113
echo "artifacts_json=$artifacts_json" >> "$GITHUB_OUTPUT"
114114
echo "correlation_id=$correlation_id" >> "$GITHUB_OUTPUT"
115115
echo "public_producer_job_id=$public_producer_job_id" >> "$GITHUB_OUTPUT"
@@ -162,7 +162,6 @@ jobs:
162162
inputs: {
163163
schema_version: "1",
164164
public_repository: "NVIDIA/cuda-python",
165-
public_repository_id: "381173759",
166165
public_workflow_id: "155304118",
167166
public_producer_job_id: $producer_job_id,
168167
public_run_id: $run_id,
@@ -184,7 +183,7 @@ jobs:
184183
-H 'X-GitHub-Api-Version: 2026-03-10' \
185184
"repos/NVIDIA-dev/cuda-python-private/actions/runs/$private_run_id")
186185
jq -e '
187-
.repository.id == 809898190 and
186+
.repository.full_name == "NVIDIA-dev/cuda-python-private" and
188187
.path == ".github/workflows/ctk-next-woa-validation.yml" and
189188
.event == "workflow_dispatch" and
190189
.head_branch == "ctk-next"

0 commit comments

Comments
 (0)