ci: release branches for security updates only (#5584)

Signed-off-by: RB <7775707+nitrocode@users.noreply.github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
RB
2025-06-26 16:35:54 -04:00
committed by GitHub
parent 793f6dc14c
commit 97cceb6b04
2 changed files with 12 additions and 1 deletions

View File

@@ -31,6 +31,17 @@
],
},
packageRules: [
// enable release branches for security updates
{
matchBaseBranches: ['/^release-.*/'],
matchUpdateTypes: ['security'],
enabled: true
},
// disable release branches for anything else
{
matchBaseBranches: ['/^release-.*/'],
enabled: false
},
{
matchBaseBranches: [
'main',

View File

@@ -26,4 +26,4 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- run: npx --package renovate -c 'renovate-config-validator'
- run: npx --package=renovate@latest -c renovate-config-validator