Skip to content

Commit 608d0dd

Browse files
authored
Limit the timing of git submodule updates by renovate to avoid disrupting work during working hour (#528)
same: line/line-bot-sdk-python#743
1 parent 5299982 commit 608d0dd

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

renovate.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

renovate.json5

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"timezone": "Asia/Tokyo",
7+
"automerge": true,
8+
"platformAutomerge": true,
9+
"git-submodules": {
10+
"enabled": true
11+
},
12+
"labels": [ "dependency upgrade" ],
13+
"packageRules": [
14+
{
15+
"matchPackagePatterns": ["^line-openapi$"],
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"]
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)