Skip to content

Commit a4bdd3d

Browse files
committed
fix(ci): launch input guard with the current Bash executable
1 parent 8140587 commit a4bdd3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_release_gate_chain_contract.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SOAK_WF="$ROOT/.github/workflows/_soak.yml"
2828
[ -f "$DRY_WF" ] || { echo "FAIL: $DRY_WF not found" >&2; exit 2; }
2929
[ -f "$SOAK_WF" ] || { echo "FAIL: $SOAK_WF not found" >&2; exit 2; }
3030

31-
python3 - "$WF" "$BUILD_WF" "$DRY_WF" "$SOAK_WF" <<'PY'
31+
python3 - "$WF" "$BUILD_WF" "$DRY_WF" "$SOAK_WF" "$BASH" <<'PY'
3232
import os
3333
import subprocess
3434
import pathlib
@@ -417,7 +417,7 @@ if validation.is_file():
417417
("linux", "v0.12.0-rc.1", "false", "true", "true", False),
418418
):
419419
result = subprocess.run(
420-
["bash", validation.as_posix()], capture_output=True, text=True,
420+
[sys.argv[5], validation.as_posix()], capture_output=True, text=True,
421421
env={**os.environ, "PLATFORMS": platforms, "VERSION": version,
422422
"HOLD": hold, "REGISTRIES": registries, "PRERELEASE_PUBLISH": prerelease})
423423
if (result.returncode == 0) != accepted:

0 commit comments

Comments
 (0)