Chore: Stop running scheduled tests on forks (#720)
This commit is contained in:
parent
eaacc0fc3c
commit
5e3cca16ee
|
@ -0,0 +1,10 @@
|
|||
name: Scheduled Tests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 14 * * *' # Run daily at 14:00 UTC
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
if: github.repository_owner == 'pytest-dev'
|
||||
uses: ./.github/workflows/tests.yml
|
|
@ -5,10 +5,8 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
schedule:
|
||||
- cron: '0 14 * * *' # Run daily at 14:00 UTC
|
||||
|
||||
pull_request:
|
||||
workflow_call:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
Loading…
Reference in New Issue