diff options
author | Ozan Tezcan <ozantezcan@gmail.com> | 2022-01-29 20:02:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 19:02:35 +0200 |
commit | 2d391e62bd5c80d75f50754bd5f05ef15a73fab7 (patch) | |
tree | 829967950c40cdc3378bc26508438e3aac39b71a /.github | |
parent | 75a950cb9373e4bc6f2b0d926da0a094aaffbc8d (diff) | |
download | redis-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.yml | 1 | ||||
-rw-r--r-- | .github/workflows/external.yml | 3 |
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 |