From 7909997398ff4177f660e26db0c96677a199b69d Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Wed, 6 Sep 2023 20:08:20 +0200 Subject: [PATCH] Update install_pr.sh Only run named 'Hyperion PR Build' have artifacts --- bin/scripts/install_pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scripts/install_pr.sh b/bin/scripts/install_pr.sh index ce029a08..8549f797 100755 --- a/bin/scripts/install_pr.sh +++ b/bin/scripts/install_pr.sh @@ -136,7 +136,7 @@ import json,sys data = json.load(sys.stdin) for i in data['workflow_runs']: - if i['head_sha'] == '"$head_sha"': + if i['head_sha'] == '"$head_sha"' and i['name'] == 'Hyperion PR Build': print(i['id']) break """ 2>/dev/null)