Skip to content

Commit

Permalink
Add renovate, dependabot configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraynz committed Sep 17, 2024
1 parent 6b02d40 commit d582cdb
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file is only used for vulnerability alerts for NPM, not for automatic updates.
# Renovate has trouble patching NPM lockfile-only vulnerabilities.

version: 2

updates:
- package-ecosystem: npm
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 0 # only allow vulnerabilities
groups:
npm-vulnerabilities:
applies-to: security-updates
patterns:
- "*"
labels:
- "type: security"
reviewers:
- alma/squad-e-commerce-integrations
- alma/it-and-security-operation
26 changes: 26 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"prHourlyLimit": 20,
"prConcurrentLimit": 20,
"recreateWhen": "always",
"enabledManagers": ["github-actions", "nvm", "npm"],
"reviewers": ["team:squad-e-commerce-integrations"],
"extends": [
"github>alma/renovate:github-actions",
"github>alma/renovate:confidence-badges",
"github>alma/renovate:vulnerabilities"
],
"separateMinorPatch": true,
"packageRules": [
{
"matchManagers": ["npm"],
"groupName": "NPM dependencies",
"reviewers": ["team:squad-e-commerce-integrations"]
},
{
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"],
"enabled": false
}
]
}

0 comments on commit d582cdb

Please sign in to comment.