From 13a332899d8d33b11bd83eb60a69b2cf125a5b39 Mon Sep 17 00:00:00 2001 From: Yevhenii Havrylko Date: Wed, 20 Sep 2023 17:24:25 -0400 Subject: [PATCH] Only trigger builds on main --- .github/workflows/build_and_run.yml | 2 -- .github/workflows/conda-package.yml | 2 ++ .github/workflows/pre-commit.yml | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_run.yml b/.github/workflows/build_and_run.yml index 13ad8f85..37cd16f3 100644 --- a/.github/workflows/build_and_run.yml +++ b/.github/workflows/build_and_run.yml @@ -6,8 +6,6 @@ name: build and run on: pull_request: - push: - branches: [main] env: # sycl is not included. Add it manually if you need diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index a9afea0b..147e84cf 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -8,6 +8,8 @@ on: push: branches: - main + tags: + - '[0-9]+.[0-9]+*' pull_request: env: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7f0f9c35..383be9c2 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -6,8 +6,6 @@ name: pre-commit on: pull_request: - push: - branches: [main] jobs: pre-commit: