Skip to content

Commit 21e59a1

Browse files
committed
Only run extraction tests on schedule
1 parent 705bc3a commit 21e59a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/locked.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
push:
55
pull_request:
66

7+
workflow_dispatch:
8+
9+
schedule:
10+
# nightly
11+
- cron: '31 1 * * *' # 01:31 UTC, 02:31/03:31 Munich, 03:31/04:31 Tartu
12+
# GitHub Actions load is high at minute 0, so avoid that
13+
714
jobs:
815
regression:
916
strategy:
@@ -58,6 +65,8 @@ jobs:
5865
run: ruby scripts/update_suite.rb -i
5966

6067
extraction:
68+
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
69+
6170
strategy:
6271
fail-fast: false
6372
matrix:

0 commit comments

Comments
 (0)