Skip to content

Commit bec6b1c

Browse files
committed
fix: set a periodic schedule for pipeline
1 parent a1197ca commit bec6b1c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/check-api-versions.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Check API version lock
22

3-
on: [pull_request, workflow_dispatch]
3+
on:
4+
# run after PR merge
5+
push:
6+
branches: ["main"]
7+
# run every night at 01:00
8+
schedule:
9+
- cron: "0 1 * * *"
410

511
env:
612
THRESHOLD: "10 days ago"

0 commit comments

Comments
 (0)