File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369
370370 OLD_BRANCH=$(yq '.backport_branch' ci/versions.yml)
371371 OLD_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
372- LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "ci.yml" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
372+ LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "ci.yml" -s success -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
373373 if [[ "$LATEST_PRIOR_RUN_ID" == "" ]]; then
374374 echo "LATEST_PRIOR_RUN_ID not found!"
375375 exit 1
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ jobs:
151151
152152 OLD_BRANCH=${{ needs.compute-matrix.outputs.OLD_BRANCH }}
153153 OLD_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
154- LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "ci.yml" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
154+ LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "ci.yml" -s success -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
155155 if [[ "$LATEST_PRIOR_RUN_ID" == "" ]]; then
156156 echo "LATEST_PRIOR_RUN_ID not found!"
157157 exit 1
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ jobs:
137137 run : |
138138 $OLD_BRANCH = yq '.backport_branch' ci/versions.yml
139139 $OLD_BASENAME = "cuda-bindings-python${env:PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
140- $runData = gh run list -b $OLD_BRANCH -L 1 -w "ci.yml" -s completed -R NVIDIA/cuda-python --json databaseId | ConvertFrom-Json
140+ $runData = gh run list -b $OLD_BRANCH -L 1 -w "ci.yml" -s success -R NVIDIA/cuda-python --json databaseId | ConvertFrom-Json
141141 if (-not $runData -or $runData.Length -eq 0 -or -not $runData[0].databaseId -or [string]::IsNullOrEmpty($runData[0].databaseId)) {
142142 Write-Host "LATEST_PRIOR_RUN_ID not found!"
143143 exit 1
You can’t perform that action at this time.
0 commit comments