From 473f295b776a28f4635bffc2153100816f547ae2 Mon Sep 17 00:00:00 2001 From: faissaloux Date: Sat, 25 Mar 2023 01:48:18 +0000 Subject: [PATCH] run scheduled workflows only on origin repo --- .github/workflows/integration-tests.yml | 1 + .github/workflows/static.yml | 1 + .github/workflows/tests.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 343c8083..37c89bcc 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -8,6 +8,7 @@ on: jobs: ci: + if: github.event_name != 'schedule' || github.repository == 'pestphp/pest' runs-on: ${{ matrix.os }} strategy: matrix: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ed46ad6e..49528668 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -8,6 +8,7 @@ on: jobs: static: + if: github.event_name != 'schedule' || github.repository == 'pestphp/pest' name: Static Tests runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 564b1a04..4bb4bec6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,6 +9,7 @@ on: jobs: ci: + if: github.event_name != 'schedule' || github.repository == 'pestphp/pest' runs-on: ${{ matrix.os }} strategy: matrix: