[CI] Skip Running Premerge Advisor on AArch64 (#168404)

They were still running because the conditional was not correct. This
patch fixes that so they do not interefere with the results of the job.
This commit is contained in:
Aiden Grossman
2025-11-18 10:38:39 -08:00
committed by GitHub
parent 5407e62611
commit 8bdd82ce1d
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ if __name__ == "__main__":
# Skip looking for results on AArch64 for now because the premerge advisor # Skip looking for results on AArch64 for now because the premerge advisor
# service is not available on AWS currently. # service is not available on AWS currently.
if platform.machine() == "arm64": if platform.machine() == "arm64" or platform.machine() == "aarch64":
sys.exit(0) sys.exit(0)
main( main(

View File

@@ -59,7 +59,7 @@ if __name__ == "__main__":
# Skip uploading results on AArch64 for now because the premerge advisor # Skip uploading results on AArch64 for now because the premerge advisor
# service is not available on AWS currently. # service is not available on AWS currently.
if platform.machine() == "arm64": if platform.machine() == "arm64" or platform.machine() == "aarch64":
sys.exit(0) sys.exit(0)
main(args.commit_sha, args.workflow_run_number, args.build_log_files) main(args.commit_sha, args.workflow_run_number, args.build_log_files)