From 354e689c13a9ba2d11f5e217cad3195e3f60cfc7 Mon Sep 17 00:00:00 2001 From: withanage Date: Thu, 23 May 2024 21:26:27 +0200 Subject: [PATCH] Schedule run only for pkp repositories --- .github/workflows/schedule.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 3fd1624d53..9d8c0ac975 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -4,6 +4,7 @@ on: name: schedule jobs: ops-main: + if: github.repository == 'pkp/ops' runs-on: ubuntu-latest strategy: fail-fast: false @@ -11,15 +12,16 @@ jobs: include: - php-version: 8.1 validate: 'validate' - - php-version: 8.1 database: pgsql test: 'test' SAVE_BUILD: 'save_build' - php-version: 8.1 + validate: 'validate' database: mariadb test: 'test' SAVE_BUILD: 'save_build' - php-version: 8.1 + validate: 'validate' database: mysql test: 'test' SAVE_BUILD: 'save_build' @@ -41,6 +43,7 @@ jobs: DATASETS_ACCESS_KEY: ${{secrets.DATASETS_ACCESS_KEY}} DEBUG_IN_TMATE: false ops-stable-3_4_0: + if: github.repository == 'pkp/ops' runs-on: ubuntu-latest strategy: fail-fast: false @@ -48,7 +51,6 @@ jobs: include: - php-version: 8.1 validate: 'validate' - - php-version: 8.1 database: pgsql test: 'test' SAVE_BUILD: 'save_build' @@ -57,17 +59,12 @@ jobs: test: 'test' SAVE_BUILD: 'save_build' - php-version: 8.1 + validate: 'validate' database: mysql test: 'test' SAVE_BUILD: 'save_build' upgrade: 'upgrade' upgrade_test: '3.1.0,3.1.1-2,3.1.2,stable-3_2_0,stable-3_2_1,stable-3_3_0' - - php-version: 8.2 - database: mysql - test: 'test' - - php-version: 8.2 - database: pgsql - test: 'test' name: ops-stable-3_4_0 steps: