Skip to content

Commit

Permalink
fix: renovate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinderoubaix committed Oct 30, 2024
1 parent 4a1fc36 commit a4ee718
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
30 changes: 8 additions & 22 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand All @@ -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"
},
Expand All @@ -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
}
}

0 comments on commit a4ee718

Please sign in to comment.