cmyr-template-cli 1.44.0 → 1.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plopfile.js +7 -2
- package/package.json +1 -1
package/dist/plopfile.js
CHANGED
|
@@ -868,8 +868,13 @@ function adjustDependabotConfig(params) {
|
|
|
868
868
|
}
|
|
869
869
|
npmUpdate.ignore = needsArtTemplateIgnore ? currentIgnores : void 0;
|
|
870
870
|
}
|
|
871
|
-
const
|
|
872
|
-
if (
|
|
871
|
+
const githubActionsUpdate = next.updates?.find((update) => update["package-ecosystem"] === "github-actions");
|
|
872
|
+
if (githubActionsUpdate) {
|
|
873
|
+
githubActionsUpdate.schedule ??= { interval: "monthly", time: "04:00", timezone: "Asia/Shanghai" };
|
|
874
|
+
githubActionsUpdate.schedule.interval = "monthly";
|
|
875
|
+
githubActionsUpdate.schedule.time = "04:00";
|
|
876
|
+
githubActionsUpdate.schedule.timezone = "Asia/Shanghai";
|
|
877
|
+
} else {
|
|
873
878
|
next.updates.push({
|
|
874
879
|
"package-ecosystem": "github-actions",
|
|
875
880
|
directory: "/",
|