Skip to content

Commit e7f1e89

Browse files
committed
Chore: Stop running scheduled tests on forks
1 parent 112c48f commit e7f1e89

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/cron.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Scheduled Tests
2+
3+
on:
4+
schedule:
5+
- cron: '0 14 * * *' # Run daily at 14:00 UTC
6+
7+
jobs:
8+
tests:
9+
if: github.repository_owner == 'pytest-dev'
10+
uses: ./.github/workflows/tests.yml

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- master
77

8-
schedule:
9-
- cron: '0 14 * * *' # Run daily at 14:00 UTC
10-
118
pull_request:
129

1310
concurrency:

0 commit comments

Comments
 (0)