From 07e2fb7f60906ca65949605d4190200c738c50f4 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Thu, 7 Mar 2024 06:49:25 -0800 Subject: [PATCH] Run benchmarks every 12 hours --- .github/workflows/benchmark.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 315710534e..dff14a89f5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -9,11 +9,13 @@ on: - main - '[0-9]+.[0-9]+.x' pull_request: + schedule: + - cron: '0 */12 * * *' jobs: linux: runs-on: ubuntu-latest-8-cores - if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }} + if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && (!github.event.schedule || github.ref == 'refs/heads/main') }} timeout-minutes: 30 steps: