Skip to content

Commit ccc4e89

Browse files
committed
Fix CI workflow being automatically disabled due to inactivity
1 parent 54a824b commit ccc4e89

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: Run CI
22

33
on:
44
push:
5-
branches: "*"
6-
tags: 'v[0-9]+![0-9]+.[0-9]+.[0-9]+*'
5+
branches: ["*"]
6+
tags:
7+
- 'v[0-9]+![0-9]+.[0-9]+.[0-9]+*'
78
pull_request:
8-
branches: "*"
9-
schedule:
10-
# run every Saturday at 11 EST / 12 EDT
11-
# because new Pydantic versions keep breaking things :(
12-
- cron: 0 16 * * 6
9+
branches: ["*"]
10+
workflow_call:
11+
workflow_dispatch:
1312

1413
permissions:
1514
contents: read

.github/workflows/ci_scheduled.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# this is a separate workflow to prevent the main CI workflow from being automatically disabled due to inactivity
2+
3+
name: Run CI (scheduled)
4+
5+
on:
6+
schedule:
7+
# run every Saturday at 11 EST / 12 EDT
8+
# because new Pydantic versions keep breaking things :(
9+
- cron: 0 16 * * 6
10+
11+
jobs:
12+
ci:
13+
uses: ./.github/workflows/ci.yml

0 commit comments

Comments
 (0)