1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: do periodic runs only in the main V repository (not in forks)

This commit is contained in:
Delyan Angelov 2022-07-12 11:03:59 +03:00
parent 662d0a3ef2
commit b59e6b1d06
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -7,6 +7,7 @@ on:
jobs: jobs:
network-tests-ubuntu: network-tests-ubuntu:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
timeout-minutes: 30 timeout-minutes: 30
env: env:
V_CI_PERIODIC: 1 V_CI_PERIODIC: 1
@ -24,6 +25,7 @@ jobs:
network-tests-macos: network-tests-macos:
runs-on: macOS-latest runs-on: macOS-latest
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
timeout-minutes: 30 timeout-minutes: 30
env: env:
V_CI_PERIODIC: 1 V_CI_PERIODIC: 1
@ -42,6 +44,7 @@ jobs:
network-windows-msvc: network-windows-msvc:
runs-on: windows-2019 runs-on: windows-2019
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
timeout-minutes: 30 timeout-minutes: 30
env: env:
V_CI_PERIODIC: 1 V_CI_PERIODIC: 1