Skip to content

Commit

Permalink
Merge pull request #251 from DFE-Digital/master/reconfigure
Browse files Browse the repository at this point in the history
Update renovate.json
  • Loading branch information
RogerHowellDfE authored Apr 11, 2024
2 parents fbe3715 + 1c5c354 commit cd1e8fc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/validate-renovate-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Validate Renovate Configuration
on: [ push, pull_request ]

jobs:
validate-renovate-config:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Renovate
run: npm install -g renovate

- name: Validate Renovate config
run: npx --yes --package renovate -- renovate-config-validator --strict
14 changes: 5 additions & 9 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices"
],
"extends": ["config:best-practices"],
"packageRules": [
{
"description": "Automatically merge minor and patch-level updates",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
],
"vulnerabilityAlerts": {
"labels": ["security"],
"automerge": true
}
"automergeType": "pr",
"semanticCommits": true,
"semanticCommits": "enabled",
"dependencyDashboard": true,
"labels": ["dependencies"],
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"enabled": true
"enabled": true,
"labels": ["security"],
"automerge": true
}
}

0 comments on commit cd1e8fc

Please sign in to comment.