Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the timing of git submodule updates by renovate to avoid disrupting work during working hours #743

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff may not work but changes are just

  1. rename renovate.json to renovate.json5 to write comment
  2. add timezone and packageRules[].schedule

"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"]
}
]
}
Loading