Skip to content

Commit 50332d5

Browse files
committed
[CI] Skip weekends for nightly runs
The repositories we are testing are typically quite during weekends.
1 parent fb2bd3d commit 50332d5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/nightly.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- '.github/workflows/base.yml'
1313
- '.github/workflows/base-windows.yml'
1414
schedule:
15-
- cron: '15 0 * * *'
15+
# Don't run on weekends as merges are infrequent
16+
- cron: '15 0 * * 2-6'
1617
workflow_dispatch:
1718

1819
# The following aims to reduce CI CPU cycles by:

.github/workflows/weekly.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- '.github/workflows/base.yml'
1313
- '.github/workflows/base-windows.yml'
1414
schedule:
15-
- cron: '15 0 * * 6'
15+
# Run at 00:00 on Sundays
16+
- cron: '0 0 * * 0'
1617
workflow_dispatch:
1718

1819
# The following aims to reduce CI CPU cycles by:

0 commit comments

Comments
 (0)