-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit the timing of git submodule updates by renovate to avoid disrup…
…ting work during working hour (#528) same: line/line-bot-sdk-python#743
- Loading branch information
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"timezone": "Asia/Tokyo", | ||
"automerge": true, | ||
"platformAutomerge": true, | ||
"git-submodules": { | ||
"enabled": true | ||
}, | ||
"labels": [ "dependency upgrade" ], | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": ["^line-openapi$"], | ||
"labels": ["dependency upgrade", "line-openapi-update"], | ||
// In many cases, we would like to update line-openapi by dispatching the GitHub workflow during working | ||
// hours, as there are code changes. | ||
// If that is forgotten, there's a possibility that line-openapi updates or code changes won't happen at | ||
// all, so we allow it to run at night just in case. | ||
"schedule": ["after 11pm and before 4am"] | ||
} | ||
] | ||
} |