From a4ee718340ee83a3a6aa371cfb6d04c08c44c438 Mon Sep 17 00:00:00 2001 From: Quentin Deroubaix Date: Wed, 30 Oct 2024 12:53:33 +0100 Subject: [PATCH] fix: renovate warnings --- .github/workflows/renovate.yml | 2 +- renovate.json | 30 ++++++++---------------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index d9b1a8e1af..595c5af1f2 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: renovatebot/github-action@v40.1.0 + - uses: renovatebot/github-action@v40.3.4 with: configurationFile: renovate.json token: ${{ secrets.GITHUB_TOKEN }} diff --git a/renovate.json b/renovate.json index 8f17a5035f..d3a5eccdd5 100644 --- a/renovate.json +++ b/renovate.json @@ -1,7 +1,5 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "repositories": ["AmadeusITGroup/AgnosUI"], - "platform": "github", "extends": ["config:recommended", ":dependencyDashboard", "group:allNonMajor"], "ignorePresets": [":prHourlyLimit2", ":prConcurrentLimit10"], "schedule": ["every weekend"], @@ -13,26 +11,12 @@ "groupSlug": "typescript-dependencies" }, { - "matchPackagePatterns": ["^."], - "postUpgradeTasks": { - "commands": ["rm package-lock.json", "npm install"], - "executionMode": "branch", - "fileFilters": ["**"] - } + "matchPackageNames": ["zone.js"], + "groupName": "Zone.js dependency", + "groupSlug": "zone.js-dependency" }, { - "matchPackageNames": ["@angular/core"], - "postUpgradeTasks": { - "commands": [ - "npm install", - "cd angular && npm run ng update {{{depName}}} --from={{{currentVersion}}} --to={{{newVersion}}} --migrate-only --allow-dirty --force" - ], - "executionMode": "branch", - "fileFilters": ["**"] - } - }, - { - "matchPackagePatterns": ["^@angular", "^ng-packagr", "^zone.js"], + "matchPackagePatterns": ["^@angular", "^ng-packagr"], "groupName": "Angular dependencies", "groupSlug": "angular-dependencies" }, @@ -42,7 +26,9 @@ "groupSlug": "github-actions" } ], - "allowedPostUpgradeCommands": ["^npm install$", "^cd angular && npm run ng update .*", "^rm package-lock.json$"], "lockFileMaintenance": {"enabled": true, "schedule": ["every weekend"]}, - "skipInstalls": false + "skipInstalls": false, + "vulnerabilityAlerts": { + "enabled": false + } }