From 2cedff53904370ac5f7b07e99303208becf20ec2 Mon Sep 17 00:00:00 2001 From: alyssa Date: Fri, 6 Sep 2024 16:50:10 +0900 Subject: [PATCH] test --- ci/run_ci.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/run_ci.py b/ci/run_ci.py index 6e7288b5..660f3867 100755 --- a/ci/run_ci.py +++ b/ci/run_ci.py @@ -70,7 +70,7 @@ def report_status(sha, name, start_time, exit=None): def run_job(data): subprocess.run(["git", "clone", must_get_env("REPO_URL")]) os.chdir(os.path.basename(must_get_env("REPO_URL"))) - subprocess.run(["git", "checkout", data['git_sha']]) + subprocess.run(["git", "checkout", data['sha']]) # run actual job take_some_time() @@ -87,7 +87,7 @@ def main(): print("running {dispatch_data}") time_started = datetime.datetime.now(tz=datetime.timezone.utc).isoformat(timespec='seconds') - report_status(data['git_sha'], data["action"], time_started) + report_status(data['sha'], data["action"], time_started) ok = True try: @@ -101,7 +101,7 @@ def main(): if global_fail: ok = False - report_status(data['git_sha'], data["action"], time_started, ok) + report_status(data['sha'], data["action"], time_started, ok) return 0 if ok else 1