From 28dd411f5a4c665b0f40231de3ae46146a8495f2 Mon Sep 17 00:00:00 2001 From: J-HowHuang Date: Thu, 2 May 2024 01:24:09 -0400 Subject: [PATCH] update action condition --- .github/workflows/benchmark_group_2_multi.yml | 7 ++++--- .github/workflows/benchmark_group_2_multi_client.yml | 5 +---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmark_group_2_multi.yml b/.github/workflows/benchmark_group_2_multi.yml index b79c6cc..2e74ffd 100644 --- a/.github/workflows/benchmark_group_2_multi.yml +++ b/.github/workflows/benchmark_group_2_multi.yml @@ -1,8 +1,9 @@ name: benchmark-group-2-multi -on: +on: push: - tags: - - multi_server + branch: + - main + jobs: start-benchmark-runner: name: Start self-hosted EC2 runner diff --git a/.github/workflows/benchmark_group_2_multi_client.yml b/.github/workflows/benchmark_group_2_multi_client.yml index 25bb560..807a0f1 100644 --- a/.github/workflows/benchmark_group_2_multi_client.yml +++ b/.github/workflows/benchmark_group_2_multi_client.yml @@ -1,8 +1,5 @@ name: benchmark-group-2-multi-client -on: - push: - tags: - - multi_client +on: [push, pull_request] jobs: start-benchmark-1-runner: