Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 192 additions & 0 deletions .github/dependabot.yml
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

version: 2
updates:
# 1. Core Toolbox Go module (group minor/patch CVEs; leave major bumps separate)
- package-ecosystem: "gomod"
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "fix"
include: "scope"
groups:
go-security:
applies-to: security-updates
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
update-types:
- "minor"
- "patch"
patterns:
- "*"

# 2. Go Sample modules (single grouped PR across all Go samples under /docs)
- package-ecosystem: "gomod"
directories:
- "/docs/**/*"
Comment thread
DylanVolz marked this conversation as resolved.
Resolved
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
go-samples-security:
applies-to: security-updates
patterns:
- "*"

# 3. Hugo Go modules
- package-ecosystem: "gomod"
directory: "/.hugo"
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
hugo-go-security:
applies-to: security-updates
patterns:
- "*"

# 4. JS Sample packages (single grouped PR across all JS samples under /docs)
- package-ecosystem: "npm"
directories:
- "/docs/**/*"
Comment thread
DylanVolz marked this conversation as resolved.
Resolved
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
js-samples-security:
applies-to: security-updates
patterns:
- "*"

# 5. Hugo Node tooling
- package-ecosystem: "npm"
directory: "/.hugo"
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
hugo-npm-security:
applies-to: security-updates
patterns:
- "*"

# 6. Python Sample requirements (single grouped PR across all Python samples under /docs)
- package-ecosystem: "pip"
directories:
- "/docs/**/*"
Comment thread
DylanVolz marked this conversation as resolved.
Resolved
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
python-samples-security:
applies-to: security-updates
patterns:
- "*"

# 7. PyPI wrapper package build metadata
- package-ecosystem: "pip"
directory: "/pypi"
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
pypi-security:
applies-to: security-updates
patterns:
- "*"

# 8. Container base images
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "fix"
include: "scope"
groups:
docker-security:
applies-to: security-updates
patterns:
- "*"

# 9. GitHub Actions workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
open-pull-requests-limit: 0
labels:
- "type: process"
commit-message:
prefix: "chore"
include: "scope"
groups:
github-actions-security:
applies-to: security-updates
patterns:
- "*"
24 changes: 17 additions & 7 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
],
minimumReleaseAge: '3 days',
rebaseWhen: 'conflicted',
labels: [
'type: process',
],
dependencyDashboardLabels: [
'type: process',
],
ignorePaths: [
'npm/**',
],
vulnerabilityAlerts: {
enabled: false,
},
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
postUpdateOptions: [
'gomodTidy',
],
Expand Down Expand Up @@ -49,9 +58,9 @@
matchManagers: [
'gomod',
],
ignorePaths: [
'docs/**',
'.hugo/**',
matchFileNames: [
'!docs/**',
'!.hugo/**',
],
},
{
Expand Down Expand Up @@ -82,8 +91,8 @@
'minor',
'patch',
],
ignorePaths: [
'docs/**',
matchFileNames: [
'!docs/**',
],
},
{
Expand All @@ -99,10 +108,11 @@
{
groupName: 'Pip',
matchManagers: [
'pep621',
'pip_requirements',
],
ignorePaths: [
'docs/**',
matchFileNames: [
'!docs/**',
],
},
{
Expand Down
1 change: 1 addition & 0 deletions .github/trusted-contribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

trustedContributors:
- "dependabot[bot]"
- "renovate[bot]"
Comment thread
Yuan325 marked this conversation as resolved.
Resolved
- "renovate-bot"
annotations:
# Trigger Cloud Build tests
Expand Down
Loading