summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorOzan Tezcan <ozantezcan@gmail.com>2022-01-29 20:02:35 +0300
committerGitHub <noreply@github.com>2022-01-29 19:02:35 +0200
commit2d391e62bd5c80d75f50754bd5f05ef15a73fab7 (patch)
tree829967950c40cdc3378bc26508438e3aac39b71a /.github
parent75a950cb9373e4bc6f2b0d926da0a094aaffbc8d (diff)
downloadredis-2d391e62bd5c80d75f50754bd5f05ef15a73fab7.tar.gz
Skip external server and codeql cron tests on forks (#10204)
keep the push triggers for all repos, but run the scheduled ones only on redis/redis
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql-analysis.yml1
-rw-r--r--.github/workflows/external.yml3
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index a940b794d..603a05fdd 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -11,6 +11,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
+ if: github.event_name != 'schedule' || github.repository == 'redis/redis'
strategy:
fail-fast: false
diff --git a/.github/workflows/external.yml b/.github/workflows/external.yml
index b378236b2..b8671f43a 100644
--- a/.github/workflows/external.yml
+++ b/.github/workflows/external.yml
@@ -9,6 +9,7 @@ on:
jobs:
test-external-standalone:
runs-on: ubuntu-latest
+ if: github.event_name != 'schedule' || github.repository == 'redis/redis'
timeout-minutes: 14400
steps:
- uses: actions/checkout@v2
@@ -32,6 +33,7 @@ jobs:
test-external-cluster:
runs-on: ubuntu-latest
+ if: github.event_name != 'schedule' || github.repository == 'redis/redis'
timeout-minutes: 14400
steps:
- uses: actions/checkout@v2
@@ -58,6 +60,7 @@ jobs:
test-external-nodebug:
runs-on: ubuntu-latest
+ if: github.event_name != 'schedule' || github.repository == 'redis/redis'
timeout-minutes: 14400
steps:
- uses: actions/checkout@v2