commit | 2cea2edc270d33fe5f5f1b84f732cb3ee5e6fb39 | [log] [tgz] |
---|---|---|
author | Catherine Lee <csl@fb.com> | Mon Apr 24 21:19:09 2023 +0000 |
committer | PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> | Mon Apr 24 21:19:09 2023 +0000 |
tree | c2368e1771bb290df39ab58bfe07ecbb1643d5e1 | |
parent | 367d3afd7cc5e99bdc7a7e501ae66e6e7724711c [diff] |
[easy] Fix upload test stats after master -> main switch (#99924) Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/99924 Approved by: https://github.com/huydhn
diff --git a/tools/stats/upload_test_stats.py b/tools/stats/upload_test_stats.py index d6eaf40..310ecd2 100644 --- a/tools/stats/upload_test_stats.py +++ b/tools/stats/upload_test_stats.py
@@ -369,8 +369,8 @@ failed_tests_cases, ) - if args.head_branch == "master": - # For master jobs, upload everything. + if args.head_branch == "main": + # For jobs on main branch, upload everything. upload_workflow_stats_to_s3( args.workflow_run_id, args.workflow_run_attempt, "test_run", test_cases )