From 35eae5a6798e57821b920901ccafcce4bf62e7f0 Mon Sep 17 00:00:00 2001 From: Doug <4741454+douglance@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:27:52 -0400 Subject: [PATCH] ci: fix trigger and naming for monitors (#1854) --- .github/workflows/assertion-monitor.yml | 3 +-- .github/workflows/batch-poster-monitor.yml | 3 +-- .github/workflows/monitoring.yml | 1 + .github/workflows/retryable-monitor.yml | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/assertion-monitor.yml b/.github/workflows/assertion-monitor.yml index a29ceae4ae..6c0db84adb 100644 --- a/.github/workflows/assertion-monitor.yml +++ b/.github/workflows/assertion-monitor.yml @@ -1,14 +1,13 @@ name: Assertion Monitor on: - push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours jobs: run-monitoring: - name: Assertion Monitor (${{ matrix.chain }}) + name: Assertion Monitor (${{ matrix.chain == 'orbit' && 'Orbit' || matrix.chain == 'core' && 'Core' || matrix.chain }}) strategy: matrix: chain: [core, orbit] diff --git a/.github/workflows/batch-poster-monitor.yml b/.github/workflows/batch-poster-monitor.yml index 8d9af811f0..4db8dc451d 100644 --- a/.github/workflows/batch-poster-monitor.yml +++ b/.github/workflows/batch-poster-monitor.yml @@ -1,14 +1,13 @@ name: Batch Poster Monitor on: - push: workflow_dispatch: schedule: - cron: "0 */6 * * *" # Run every 6 hours jobs: run-monitoring: - name: Batch Poster Monitor (${{ matrix.chain }}) + name: Batch Poster Monitor (${{ matrix.chain == 'orbit' && 'Orbit' || matrix.chain == 'core' && 'Core' || matrix.chain }}) strategy: matrix: chain: [core, orbit] diff --git a/.github/workflows/monitoring.yml b/.github/workflows/monitoring.yml index bf33675ba9..74ded940cf 100644 --- a/.github/workflows/monitoring.yml +++ b/.github/workflows/monitoring.yml @@ -18,6 +18,7 @@ env: jobs: run-monitoring: + name: Run runs-on: ubuntu-latest steps: - name: Checkout repositories diff --git a/.github/workflows/retryable-monitor.yml b/.github/workflows/retryable-monitor.yml index 4b251bbbee..b2be5996d6 100644 --- a/.github/workflows/retryable-monitor.yml +++ b/.github/workflows/retryable-monitor.yml @@ -1,14 +1,13 @@ name: Retryable Monitor on: - push: workflow_dispatch: schedule: - cron: "3 8 * * *" # Run once a day at 08:03am GMT jobs: run-retryable-monitoring: - name: Retryables Monitor (${{ matrix.chain }}) + name: Retryable Monitor (${{ matrix.chain == 'orbit' && 'Orbit' || matrix.chain == 'core' && 'Core' || matrix.chain }}) strategy: matrix: chain: [core, orbit]