From 80ad0d15a05c79442ce507b80daa8657ae5718f4 Mon Sep 17 00:00:00 2001 From: Ryosuke Iwanaga Date: Fri, 6 Oct 2023 06:31:18 +0000 Subject: [PATCH] chore: update deps upgrade schedule to weekly --- .github/workflows/upgrade-main.yml | 2 +- .projenrc.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index 04f70e9..044e8d4 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -4,7 +4,7 @@ name: upgrade-main on: workflow_dispatch: {} schedule: - - cron: 0 0 * * * + - cron: 0 0 * * 1 jobs: upgrade: name: Upgrade diff --git a/.projenrc.ts b/.projenrc.ts index cd55036..c5d3814 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -1,4 +1,5 @@ import { OpsBRTypeScriptProject } from "@opsbr/projen-typescript"; +import { javascript } from "projen"; const project = new OpsBRTypeScriptProject({ name: "eslint-import-resolver-typescript-bun", defaultReleaseBranch: "main", @@ -15,5 +16,10 @@ const project = new OpsBRTypeScriptProject({ autoApproveOptions: { allowedUsernames: ["opsbr-bot[bot]"], }, + depsUpgradeOptions: { + workflowOptions: { + schedule: javascript.UpgradeDependenciesSchedule.WEEKLY, + }, + }, }); project.synth();