From ac2bbe238400dff4f66babdbd886f4e696955615 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Thu, 31 Oct 2024 13:50:19 -0400 Subject: [PATCH] Reduce AWS peer discovery workflow run rate By running it * On push, when relevant code paths change * Every Monday morning The peer discovery subsystem does not change particularly often, and this plugin in particular does not. Nonetheless, we currently run it for every push unconditionally. (cherry picked from commit 893a349f44d77451a5b29ebd78cd8e10417eaf06) --- .github/workflows/rabbitmq_peer_discovery_aws.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rabbitmq_peer_discovery_aws.yaml b/.github/workflows/rabbitmq_peer_discovery_aws.yaml index b121432a8d7c..2e94da990fcd 100644 --- a/.github/workflows/rabbitmq_peer_discovery_aws.yaml +++ b/.github/workflows/rabbitmq_peer_discovery_aws.yaml @@ -1,10 +1,12 @@ name: Peer Discovery AWS Integration Test on: push: - paths-ignore: - - '.github/workflows/secondary-umbrella.yaml' - - '.github/workflows/update-elixir-patches.yaml' - - '.github/workflows/update-otp-patches.yaml' + paths: + - "deps/rabbitmq_peer_discovery_aws/**" + - "deps/rabbitmq_peer_discovery_common/**" + - "deps/rabbit/src/rabbit_peer_discovery.erl" + schedule: + - cron: "4 0 * * MON" workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref_name }}