From df1bac7c3c2849f555dfb34cbe612ff5d2d01bf9 Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Sun, 8 Sep 2024 03:32:18 +0000 Subject: [PATCH 1/3] ci: config renovate config file --- renovate.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..d6e0bd35 --- /dev/null +++ b/renovate.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "lockFileMaintenance": { + "enabled": false + }, + "dependencyDashboard": true, + "packageRules": [ + { + "groupName": "all dependencies", + "groupSlug": "all", + "matchPackageNames": [ + "*" + ] + } + ], + "separateMajorMinor": false, + "schedule": ["every weekend"] + } \ No newline at end of file From bf3f6bf6aee4dcca334bcf8f8f04a455a9426931 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Sun, 8 Sep 2024 02:42:41 -0400 Subject: [PATCH 2/3] chore: format --- renovate.json | 32 +++++++++++++++----------------- scripts/format/format.ts | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/renovate.json b/renovate.json index d6e0bd35..d34c364d 100644 --- a/renovate.json +++ b/renovate.json @@ -1,18 +1,16 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "lockFileMaintenance": { - "enabled": false - }, - "dependencyDashboard": true, - "packageRules": [ - { - "groupName": "all dependencies", - "groupSlug": "all", - "matchPackageNames": [ - "*" - ] - } - ], - "separateMajorMinor": false, - "schedule": ["every weekend"] - } \ No newline at end of file + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "lockFileMaintenance": { + "enabled": false + }, + "dependencyDashboard": true, + "packageRules": [ + { + "groupName": "all dependencies", + "groupSlug": "all", + "matchPackageNames": ["*"] + } + ], + "separateMajorMinor": false, + "schedule": ["every weekend"] +} diff --git a/scripts/format/format.ts b/scripts/format/format.ts index 1e81b6ff..0f0c5be5 100644 --- a/scripts/format/format.ts +++ b/scripts/format/format.ts @@ -20,7 +20,7 @@ async function main() { '!scripts/radashi-db/supabase.types.ts', ] const prettierGlobs = [ - '**/package.json', + '**/*.json', '**/README.md', 'docs/**/*', 'scripts/**/*.sh', From e8b385c4a75fe7774acd8a3cd2f11de22b303b04 Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Sun, 8 Sep 2024 13:27:14 -0300 Subject: [PATCH 3/3] ci: Increases scan time, alerts security issues and fixes lockFileMaintenance --- renovate.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index d34c364d..0b8ed78e 100644 --- a/renovate.json +++ b/renovate.json @@ -1,7 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "lockFileMaintenance": { - "enabled": false + "enabled": true }, "dependencyDashboard": true, "packageRules": [ @@ -11,6 +11,10 @@ "matchPackageNames": ["*"] } ], + "vulnerabilityAlerts": { + "enabled": true + }, "separateMajorMinor": false, - "schedule": ["every weekend"] + "osvVulnerabilityAlerts": true, + "schedule": ["every 2 months on the first day of the month"] }