Skip to content

Commit

Permalink
Setup performance-ci runs to only use the 9.0 and 8.0 branch from cha…
Browse files Browse the repository at this point in the history
…nnel map when running for main to ensure non-main runs don't get included in main runs. (#4054)
  • Loading branch information
LoopedBard3 authored Mar 19, 2024
1 parent bfecc24 commit 482ffb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_performance_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def run_performance_job(args: RunPerformanceJobArgs):

ci_setup_arguments.build_number = args.build_number

if branch is not None and not args.performance_repo_ci:
if branch is not None and not (args.performance_repo_ci and branch == "refs/heads/main"):
ci_setup_arguments.branch = branch

if args.perf_repo_hash is not None and not args.performance_repo_ci:
Expand Down

0 comments on commit 482ffb5

Please sign in to comment.