From 0314429c8f3325b437cfd2a8e6dc8d03ed265e26 Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Tue, 11 Aug 2020 10:59:47 +0300 Subject: [PATCH] Run daily workflow on main repo only (no forks). (#7646) (cherry picked from commit 944cca98c84efcf0365b0525f88124c53dbe1c53) --- .github/workflows/daily.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 986bd223b..010a32289 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -12,6 +12,7 @@ jobs: test-ubuntu-jemalloc: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' timeout-minutes: 14400 steps: - uses: actions/checkout@v2 @@ -30,6 +31,7 @@ jobs: test-ubuntu-libc-malloc: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' timeout-minutes: 14400 steps: - uses: actions/checkout@v2 @@ -48,6 +50,7 @@ jobs: test-ubuntu-32bit: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' timeout-minutes: 14400 steps: - uses: actions/checkout@v2 @@ -70,6 +73,7 @@ jobs: test-ubuntu-tls: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' timeout-minutes: 14400 steps: - uses: actions/checkout@v2 @@ -90,6 +94,7 @@ jobs: test-valgrind: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' timeout-minutes: 14400 steps: - uses: actions/checkout@v2 @@ -104,6 +109,7 @@ jobs: test-centos7-jemalloc: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' container: centos:7 timeout-minutes: 14400 steps: @@ -126,6 +132,7 @@ jobs: test-centos7-tls: runs-on: ubuntu-latest + if: github.repository == 'redis/redis' container: centos:7 timeout-minutes: 14400 steps: