mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 22:18:30 +00:00
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:
11
.github/renovate.json5
vendored
11
.github/renovate.json5
vendored
@@ -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',
|
||||
|
||||
2
.github/workflows/renovate-config.yml
vendored
2
.github/workflows/renovate-config.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user