Skip to content

Commit ff39a12

Browse files
committed
fixup! CI: cover internal self-hosted runners in the runner trust probe
Tighten the riscv64 regex branch to require a hardware suffix (-[a-z0-9][a-z0-9-]*[a-z0-9]), preventing HOST_PLATFORM strings (linux-riscv64) and artifact name prefixes (linux-riscv64-) from matching as phantom runner labels and queuing until timeout.
1 parent a7d14a5 commit ff39a12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/runner-trust-probe.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
# GPU labels hard-coded in a workflow; GitHub-hosted names and
6767
# host-platform strings (e.g. 'linux-64') deliberately do not match.
6868
scanned="$(grep -rhoE \
69-
'(linux|windows|wsl)-[a-z0-9-]*(cpu[0-9]+|gpu-[a-z0-9]|internal|1xgb10)[a-z0-9-]*|(linux|windows|wsl)-riscv64[a-z0-9-]*' \
69+
'(linux|windows|wsl)-[a-z0-9-]*(cpu[0-9]+|gpu-[a-z0-9]|internal|1xgb10)[a-z0-9-]*|(linux|windows|wsl)-riscv64-[a-z0-9][a-z0-9-]*[a-z0-9]' \
7070
.github/workflows/ | sort -u | jq -Rsc 'split("\n") | map(select(length > 0))' || true)"
7171
scanned="${scanned:-[]}"
7272

0 commit comments

Comments
 (0)