Skip to content

Commit

Permalink
Limit the timing of git submodule updates by renovate to avoid disrup…
Browse files Browse the repository at this point in the history
…ting work during working hours (#1126)

same: line/line-bot-sdk-python#743
  • Loading branch information
Yang-33 authored Jan 16, 2025
1 parent dbd5139 commit 60ab983
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion renovate.json → renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"extends": [
"config:base"
],
"timezone": "Asia/Tokyo",
"automerge": true,
"platformAutomerge": true,
"git-submodules": {
Expand All @@ -12,7 +13,12 @@
"packageRules": [
{
"matchPackagePatterns": ["^line-openapi$"],
"labels": ["dependency upgrade", "line-openapi-update"]
"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"]
},
{
"matchPaths": [
Expand Down

0 comments on commit 60ab983

Please sign in to comment.