From 547c0aa4e0ad76f012bb3b74415e2ff1613c72cb Mon Sep 17 00:00:00 2001 From: Artem Yakimenko Date: Sun, 7 Apr 2024 10:46:34 +1000 Subject: [PATCH] Trigger workflows when they get updated So workflows can be tested inside the PRs --- .github/workflows/integration-compute-core.yml | 2 ++ .github/workflows/integration-compute-instance_groups.yml | 2 ++ .github/workflows/integration-compute-loadbalancing.yml | 2 ++ .github/workflows/integration-compute-networking.yml | 2 ++ .github/workflows/integration-monitoring.yml | 2 ++ .github/workflows/integration-pubsub.yml | 2 ++ .github/workflows/integration-sql.yml | 2 ++ .github/workflows/integration-storage.yml | 2 ++ 8 files changed, 16 insertions(+) diff --git a/.github/workflows/integration-compute-core.yml b/.github/workflows/integration-compute-core.yml index 6a6d36672..47eff517b 100644 --- a/.github/workflows/integration-compute-core.yml +++ b/.github/workflows/integration-compute-core.yml @@ -22,6 +22,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-compute-core.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-compute-instance_groups.yml b/.github/workflows/integration-compute-instance_groups.yml index 4798c4f9f..5afad6a0f 100644 --- a/.github/workflows/integration-compute-instance_groups.yml +++ b/.github/workflows/integration-compute-instance_groups.yml @@ -22,6 +22,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-compute-instance_groups.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-compute-loadbalancing.yml b/.github/workflows/integration-compute-loadbalancing.yml index 83cb00e99..dc1db532d 100644 --- a/.github/workflows/integration-compute-loadbalancing.yml +++ b/.github/workflows/integration-compute-loadbalancing.yml @@ -22,6 +22,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-compute-loadbalancing.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-compute-networking.yml b/.github/workflows/integration-compute-networking.yml index 6ed31802c..0ae8e8c6c 100644 --- a/.github/workflows/integration-compute-networking.yml +++ b/.github/workflows/integration-compute-networking.yml @@ -22,6 +22,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-compute-networking.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-monitoring.yml b/.github/workflows/integration-monitoring.yml index 2d5549ac5..ec501205e 100644 --- a/.github/workflows/integration-monitoring.yml +++ b/.github/workflows/integration-monitoring.yml @@ -23,6 +23,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-monitoring.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-pubsub.yml b/.github/workflows/integration-pubsub.yml index 6c78d097d..5a0b4de78 100644 --- a/.github/workflows/integration-pubsub.yml +++ b/.github/workflows/integration-pubsub.yml @@ -23,6 +23,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-pubsub.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-sql.yml b/.github/workflows/integration-sql.yml index 35abc6944..0ccb03baa 100644 --- a/.github/workflows/integration-sql.yml +++ b/.github/workflows/integration-sql.yml @@ -23,6 +23,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-sql.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed diff --git a/.github/workflows/integration-storage.yml b/.github/workflows/integration-storage.yml index c5e3d14a4..fdffec24b 100644 --- a/.github/workflows/integration-storage.yml +++ b/.github/workflows/integration-storage.yml @@ -24,6 +24,8 @@ on: - 'lib/fog/google.rb' # Trigger workflow on version upgrade - 'lib/fog/google/version.rb' + # Trigger when workflow itself is updated + - '.github/workflows/integration-storage.yml' # Setting hard concurrency limit for the project due to cleanup # TODO(fog-google#626): remove this once cleanup is fixed