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 hour (#528)

same: line/line-bot-sdk-python#743
  • Loading branch information
Yang-33 authored Jan 16, 2025
1 parent 5299982 commit 608d0dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
18 changes: 0 additions & 18 deletions renovate.json

This file was deleted.

24 changes: 24 additions & 0 deletions renovate.json5
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"]
}
]
}

0 comments on commit 608d0dd

Please sign in to comment.