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
This commit is contained in:
parent
75a950cb93
commit
2d391e62bd
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
|||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'schedule' || github.repository == 'redis/redis'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
3
.github/workflows/external.yml
vendored
3
.github/workflows/external.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test-external-standalone:
|
test-external-standalone:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'schedule' || github.repository == 'redis/redis'
|
||||||
timeout-minutes: 14400
|
timeout-minutes: 14400
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -32,6 +33,7 @@ jobs:
|
|||||||
|
|
||||||
test-external-cluster:
|
test-external-cluster:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'schedule' || github.repository == 'redis/redis'
|
||||||
timeout-minutes: 14400
|
timeout-minutes: 14400
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -58,6 +60,7 @@ jobs:
|
|||||||
|
|
||||||
test-external-nodebug:
|
test-external-nodebug:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name != 'schedule' || github.repository == 'redis/redis'
|
||||||
timeout-minutes: 14400
|
timeout-minutes: 14400
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user