renovatebot / config-help

Please use the Discussions feature of https://github.com/renovatebot/renovate instead
https://github.com/renovatebot/renovate/discussions
MIT License
27 stars 16 forks source link

Different schedule for lockFileMaintenance vs package.json updates? #858

Closed broksonic21 closed 4 years ago

broksonic21 commented 4 years ago

I had previously tried to turn lockFileMaintenance on, but it seemed to always run with the same schedule as the package.json

what's the right way to update this to have lockFileMaintenance once a week, but package.json updates daily?

{
  "extends": [
    "config:base",
    ":prHourlyLimit4",
    ":prConcurrentLimit10",
    "group:all",
    ":onlyNpm",
    ":enableVulnerabilityAlertsWithLabel(Vulnerability)",
    ":noUnscheduledUpdates"
  ],
  "automerge": true,
  "rangeStrategy": "bump",
  "timezone": "America/New_York",
  "schedule": ["after 6am and before 10am every weekday"],
  "enabledManagers": ["npm"],
  "includePaths": ["package.json"],
  "labels": ["renovate"]
}
rarkins commented 4 years ago

You can search this repo for examples of configuring lockFileMaintenance. For example: https://github.com/renovatebot/config-help/issues/677

broksonic21 commented 4 years ago

that seems to work - thanks!

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs.