Merge pull request #740 from faissaloux/scheduled-workflows-condition

[2.x] Run scheduled workflows only on origin repo
This commit is contained in:
Nuno Maduro
2023-03-28 08:48:42 +01:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ on:
jobs:
ci:
if: github.event_name != 'schedule' || github.repository == 'pestphp/pest'
runs-on: ${{ matrix.os }}
strategy:
matrix:

View File

@ -8,6 +8,7 @@ on:
jobs:
static:
if: github.event_name != 'schedule' || github.repository == 'pestphp/pest'
name: Static Tests
runs-on: ubuntu-latest

View File

@ -9,6 +9,7 @@ on:
jobs:
ci:
if: github.event_name != 'schedule' || github.repository == 'pestphp/pest'
runs-on: ${{ matrix.os }}
strategy:
matrix: