Skip to content

Commit 8719f07

Browse files
authored
[CI] Move cron trigger to dedicated nightly workflow for better CI behavior on forks (#937)
* Make nightly jobs change * revert other changes
1 parent 204bb1c commit 8719f07

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Nightly Jobs
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
python-test:
10+
uses: ./.github/workflows/python-test.yaml

.github/workflows/python-test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8-
schedule:
9-
- cron: '0 0 * * *' # Run at midnight every day
8+
workflow_call:
109

1110
jobs:
1211
test_package:

0 commit comments

Comments
 (0)