From f995e3128fa82e30baf894a3f740e3efb896ed8e Mon Sep 17 00:00:00 2001 From: Susumu Yamazaki Date: Sat, 4 Jan 2025 02:22:51 +0900 Subject: [PATCH] CI: suppress Elixir_CI execution in PR from check_by_SHR to main (#774) (#775) * ci: build and test in case of pushing to main * ci: suppress Elixir CI execution in PR from check_by_SHR to main --- .github/workflows/ci_distributed_computing_bench.yml | 2 +- .github/workflows/ci_http_downloader.yml | 2 +- .github/workflows/ci_node_activator.yml | 2 +- .github/workflows/ci_onnx_to_axon_bench.yml | 2 +- .github/workflows/ci_pelemay_backend.yml | 2 +- .github/workflows/ci_self_hosted_macos.yml | 3 +++ .github/workflows/ci_spawn_co_elixir.yml | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_distributed_computing_bench.yml b/.github/workflows/ci_distributed_computing_bench.yml index aa05d95..5c43b4f 100644 --- a/.github/workflows/ci_distributed_computing_bench.yml +++ b/.github/workflows/ci_distributed_computing_bench.yml @@ -8,7 +8,7 @@ name: Elixir CI (DistributedComputingBench) on: pull_request: types: [opened, reopened, synchronize] - branches: [ "main", "develop", "check_by_SHR" ] + branches: [ "develop", "check_by_SHR" ] paths: - 'benchmarks/distributed_computing_bench/**' - '!.github/workflows/*' diff --git a/.github/workflows/ci_http_downloader.yml b/.github/workflows/ci_http_downloader.yml index ff2afed..6683296 100644 --- a/.github/workflows/ci_http_downloader.yml +++ b/.github/workflows/ci_http_downloader.yml @@ -8,7 +8,7 @@ name: Elixir CI (HttpDownloader) on: pull_request: types: [opened, reopened, synchronize] - branches: [ "main", "develop", "check_by_SHR" ] + branches: [ "develop", "check_by_SHR" ] paths: - 'utilities/http_downloader/**' - '!benchmarks/onnx_to_axon_bench/**' diff --git a/.github/workflows/ci_node_activator.yml b/.github/workflows/ci_node_activator.yml index fbe723d..290d078 100644 --- a/.github/workflows/ci_node_activator.yml +++ b/.github/workflows/ci_node_activator.yml @@ -8,7 +8,7 @@ name: Elixir CI (NodeActivator) on: pull_request: types: [opened, reopened, synchronize] - branches: [ "main", "develop", "check_by_SHR" ] + branches: [ "develop", "check_by_SHR" ] paths: - 'utilities/node_activator/**' - '!utilities/spawn_co_elixir/**' diff --git a/.github/workflows/ci_onnx_to_axon_bench.yml b/.github/workflows/ci_onnx_to_axon_bench.yml index 8a94d3e..c73710b 100644 --- a/.github/workflows/ci_onnx_to_axon_bench.yml +++ b/.github/workflows/ci_onnx_to_axon_bench.yml @@ -8,7 +8,7 @@ name: Elixir CI (OnnxToAxonBench) on: pull_request: types: [opened, reopened, synchronize] - branches: [ "main", "develop", "check_by_SHR" ] + branches: [ "develop", "check_by_SHR" ] paths: - 'benchmarks/onnx_to_axon_bench/**' - '!.github/workflows/*' diff --git a/.github/workflows/ci_pelemay_backend.yml b/.github/workflows/ci_pelemay_backend.yml index 03bdedf..16afd89 100644 --- a/.github/workflows/ci_pelemay_backend.yml +++ b/.github/workflows/ci_pelemay_backend.yml @@ -8,7 +8,7 @@ name: Elixir CI (PelemayBackend) on: pull_request: types: [opened, reopened, synchronize] - branches: ["main", "develop", "check_by_SHR"] + branches: ["develop", "check_by_SHR"] paths: - "backends/pelemay_backend/**" - "!benchmarks/onnx_to_axon_bench/**" diff --git a/.github/workflows/ci_self_hosted_macos.yml b/.github/workflows/ci_self_hosted_macos.yml index 050ac05..806dce6 100644 --- a/.github/workflows/ci_self_hosted_macos.yml +++ b/.github/workflows/ci_self_hosted_macos.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, reopened, synchronize] branches: [ "main" ] + push: + types: [opened, reopened, synchronize] + branches: [ "main" ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ci_spawn_co_elixir.yml b/.github/workflows/ci_spawn_co_elixir.yml index d4f176a..adb559c 100644 --- a/.github/workflows/ci_spawn_co_elixir.yml +++ b/.github/workflows/ci_spawn_co_elixir.yml @@ -8,7 +8,7 @@ name: Elixir CI (SpawnCoElixir) on: pull_request: types: [opened, reopened, synchronize] - branches: [ "main", "develop", "check_by_SHR" ] + branches: [ "develop", "check_by_SHR" ] paths: - 'utilities/spawn_co_elixir/**' - '!benchmarks/distributed_computing_bench/**'