From ee561f673550b4d85c1718fcfdd42d74ae2e7131 Mon Sep 17 00:00:00 2001 From: anthayes92 <34694788+anthayes92@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:10:31 -0400 Subject: [PATCH] Prevent labels from triggering CI (#899) **Context:** CI is being triggered by adding any label to a PR in "ready for review" state. This fixes that undesired behaviour **Description of the Change:** Removes the `labeled` PR type from workflows. **Benefits:** Prevents unnecessary resource usage. **Possible Drawbacks:** When labels are added that intend to affect CI, a followup commit must be made to trigger the CI **Related GitHub Issues:** ### Verification: Added various labels to this PR in a "ready for review" state, no CI checks were triggered as a result. --------- Co-authored-by: ringo-but-quantum Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com> --- .github/workflows/tests_lgpu_cpp.yml | 1 - .github/workflows/tests_lgpu_python.yml | 1 - .github/workflows/tests_lgpumpi_cpp.yml | 1 - .github/workflows/tests_lgpumpi_python.yml | 1 - .github/workflows/tests_linux_cpp.yml | 1 - .github/workflows/tests_lkcpu_python.yml | 1 - .github/workflows/tests_lkcuda_cpp.yml | 1 - .github/workflows/tests_lkcuda_python.yml | 1 - .github/workflows/tests_lmps_tncuda_cpp.yml | 1 - .github/workflows/tests_lmps_tncuda_python.yml | 1 - .github/workflows/tests_lqcpu_python.yml | 1 - .github/workflows/tests_windows_cpp.yml | 1 - .github/workflows/tests_without_binary.yml | 1 - .github/workflows/tidy.yml | 1 - .github/workflows/wheel_linux_aarch64.yml | 1 - .github/workflows/wheel_linux_x86_64.yml | 1 - .github/workflows/wheel_linux_x86_64_cuda.yml | 1 - .github/workflows/wheel_macos_arm64.yml | 1 - .github/workflows/wheel_macos_x86_64.yml | 1 - .github/workflows/wheel_noarch.yml | 1 - .github/workflows/wheel_win_x86_64.yml | 1 - pennylane_lightning/core/_version.py | 2 +- 22 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/tests_lgpu_cpp.yml b/.github/workflows/tests_lgpu_cpp.yml index 46467c06ec..143c7ebccf 100644 --- a/.github/workflows/tests_lgpu_cpp.yml +++ b/.github/workflows/tests_lgpu_cpp.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tests_lgpu_cpp.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/tests_lgpu_python.yml b/.github/workflows/tests_lgpu_python.yml index 080bcfddd9..46ca40fea7 100644 --- a/.github/workflows/tests_lgpu_python.yml +++ b/.github/workflows/tests_lgpu_python.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - .github/** - '!.github/workflows/tests_lgpu_python.yml' diff --git a/.github/workflows/tests_lgpumpi_cpp.yml b/.github/workflows/tests_lgpumpi_cpp.yml index 690af8fff2..1ba50e8927 100644 --- a/.github/workflows/tests_lgpumpi_cpp.yml +++ b/.github/workflows/tests_lgpumpi_cpp.yml @@ -19,7 +19,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tests_lgpumpi_cpp.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/tests_lgpumpi_python.yml b/.github/workflows/tests_lgpumpi_python.yml index fce0c1e892..79c2f3ea48 100644 --- a/.github/workflows/tests_lgpumpi_python.yml +++ b/.github/workflows/tests_lgpumpi_python.yml @@ -19,7 +19,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - .github/** - '!.github/workflows/tests_lgpumpi_python.yml' diff --git a/.github/workflows/tests_linux_cpp.yml b/.github/workflows/tests_linux_cpp.yml index f7cc14b790..897ff6d271 100644 --- a/.github/workflows/tests_linux_cpp.yml +++ b/.github/workflows/tests_linux_cpp.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tests_linux_cpp.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/tests_lkcpu_python.yml b/.github/workflows/tests_lkcpu_python.yml index 057a88ba3a..99a858ada3 100644 --- a/.github/workflows/tests_lkcpu_python.yml +++ b/.github/workflows/tests_lkcpu_python.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - .github/** - '!.github/workflows/tests_lkcpu_python.yml' diff --git a/.github/workflows/tests_lkcuda_cpp.yml b/.github/workflows/tests_lkcuda_cpp.yml index df007bcfec..b8dadaa46c 100644 --- a/.github/workflows/tests_lkcuda_cpp.yml +++ b/.github/workflows/tests_lkcuda_cpp.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - pennylane_lightning/core/src/** - '!pennylane_lightning/core/src/simulators/lightning_gpu/**' diff --git a/.github/workflows/tests_lkcuda_python.yml b/.github/workflows/tests_lkcuda_python.yml index 1f67b6de52..7041713481 100644 --- a/.github/workflows/tests_lkcuda_python.yml +++ b/.github/workflows/tests_lkcuda_python.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - .github/** - '!.github/workflows/tests_lkcuda_python.yml' diff --git a/.github/workflows/tests_lmps_tncuda_cpp.yml b/.github/workflows/tests_lmps_tncuda_cpp.yml index 709e0c0f5d..f4aaab6d35 100644 --- a/.github/workflows/tests_lmps_tncuda_cpp.yml +++ b/.github/workflows/tests_lmps_tncuda_cpp.yml @@ -19,7 +19,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tests_lmps_tncuda_cpp.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/tests_lmps_tncuda_python.yml b/.github/workflows/tests_lmps_tncuda_python.yml index dda55edbc8..3fa212d5e5 100644 --- a/.github/workflows/tests_lmps_tncuda_python.yml +++ b/.github/workflows/tests_lmps_tncuda_python.yml @@ -18,7 +18,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - .github/** - '!.github/workflows/tests_lmps_tncuda_python.yml' diff --git a/.github/workflows/tests_lqcpu_python.yml b/.github/workflows/tests_lqcpu_python.yml index 60716ecdf8..bf57b862ab 100644 --- a/.github/workflows/tests_lqcpu_python.yml +++ b/.github/workflows/tests_lqcpu_python.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/tests_windows_cpp.yml b/.github/workflows/tests_windows_cpp.yml index 12348474c0..ab146ffc54 100644 --- a/.github/workflows/tests_windows_cpp.yml +++ b/.github/workflows/tests_windows_cpp.yml @@ -19,7 +19,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tests_windows_cpp.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/tests_without_binary.yml b/.github/workflows/tests_without_binary.yml index 49be9c37ea..b69ba2d69f 100644 --- a/.github/workflows/tests_without_binary.yml +++ b/.github/workflows/tests_without_binary.yml @@ -16,7 +16,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths-ignore: - pennylane_lightning/core/src/** push: diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml index 7b3228605b..b786fc2f78 100644 --- a/.github/workflows/tidy.yml +++ b/.github/workflows/tidy.yml @@ -6,7 +6,6 @@ on: - reopened - synchronize - ready_for_review - - labeled paths: - .github/workflows/tidy.yml - pennylane_lightning/core/src/** diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index a15c51831e..0b354fe67f 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -12,7 +12,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index 5d498dd37e..99a9b634b0 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -15,7 +15,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_linux_x86_64_cuda.yml b/.github/workflows/wheel_linux_x86_64_cuda.yml index 4c24459ef1..02540f2d0a 100644 --- a/.github/workflows/wheel_linux_x86_64_cuda.yml +++ b/.github/workflows/wheel_linux_x86_64_cuda.yml @@ -11,7 +11,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index c040a8e792..ec679b1bd3 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -12,7 +12,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index 85157499ca..8570da189d 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -12,7 +12,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_noarch.yml b/.github/workflows/wheel_noarch.yml index 37b2b1982c..11460cac1e 100644 --- a/.github/workflows/wheel_noarch.yml +++ b/.github/workflows/wheel_noarch.yml @@ -12,7 +12,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 4bf3a11847..6039c22d0c 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -12,7 +12,6 @@ on: - reopened - synchronize - ready_for_review - - labeled push: branches: - master diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 65a8bb0eba..78c20af2e9 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.39.0-dev15" +__version__ = "0.39.0-dev16"