Skip to content

Commit 60ab983

Browse files
authored
Limit the timing of git submodule updates by renovate to avoid disrupting work during working hours (#1126)
same: line/line-bot-sdk-python#743
1 parent dbd5139 commit 60ab983

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

renovate.json renamed to renovate.json5

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"extends": [
44
"config:base"
55
],
6+
"timezone": "Asia/Tokyo",
67
"automerge": true,
78
"platformAutomerge": true,
89
"git-submodules": {
@@ -12,7 +13,12 @@
1213
"packageRules": [
1314
{
1415
"matchPackagePatterns": ["^line-openapi$"],
15-
"labels": ["dependency upgrade", "line-openapi-update"]
16+
"labels": ["dependency upgrade", "line-openapi-update"],
17+
// In many cases, we would like to update line-openapi by dispatching the GitHub workflow during working
18+
// hours, as there are code changes.
19+
// If that is forgotten, there's a possibility that line-openapi updates or code changes won't happen at
20+
// all, so we allow it to run at night just in case.
21+
"schedule": ["after 11pm and before 4am"]
1622
},
1723
{
1824
"matchPaths": [

0 commit comments

Comments
 (0)