From 91a0dd1906b62cb07e6bd3c6ee44ec3331053463 Mon Sep 17 00:00:00 2001 From: "Yang Wooseong (Andrew)" Date: Mon, 5 Aug 2024 11:26:37 +0900 Subject: [PATCH] Set minute to wildcard in renovate schedule (#2405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox ## Related Issue - https://github.com/channel-io/bezier-react/issues/1217 ## Summary - renovate schedule에서 minute을 * 으로 변경합니다. ## Details - 위 이슈에서 `Invalid schedule: "0 10-19 1-7 * MON" has cron syntax, but doesn't have * as minutes` 에러를 뱉고 있습니다. 소스를 뒤져보면 ```tsx if ( parsedCron.fields.minute.length !== 60 || scheduleText.indexOf(minutesChar) !== 0 // (const minutesChar = "*") ) { message = `Invalid schedule: "${scheduleText}" has cron syntax, but doesn't have * as minutes`; return true; } ``` cron syntax에서는 minute 이 * 이어야 하는 것 같습니다. ### Breaking change? (Yes/No) - No ## References - https://github.com/renovatebot/renovate/blob/64b0555ce303f83a566765a0fa092a1ea4c22a48/lib/workers/repository/update/branch/schedule.ts#L61-L67 --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 8c5dfe40d..99f50313d 100644 --- a/renovate.json +++ b/renovate.json @@ -2,7 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base", ":labels(chore:deps)"], "timezone": "Asia/Seoul", - "schedule": "0 10-19 1-7 * MON", + "schedule": "* 10-19 1-7 * MON", "packageRules": [ { "groupName": "style",