|
| 1 | +# To get started with Dependabot version updates, you'll need to specify which |
| 2 | +# package ecosystems to update and where the package manifests are located. |
| 3 | +# Please see the documentation for all configuration options: |
| 4 | +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file |
| 5 | + |
| 6 | +version: 2 |
| 7 | +updates: |
| 8 | + # GitHub Actions dependencies |
| 9 | + - package-ecosystem: "github-actions" |
| 10 | + directory: "/" |
| 11 | + schedule: |
| 12 | + interval: "weekly" |
| 13 | + day: "monday" |
| 14 | + time: "09:00" |
| 15 | + timezone: "UTC" |
| 16 | + commit-message: |
| 17 | + prefix: "chore" |
| 18 | + include: "scope" |
| 19 | + |
| 20 | + # Tool versions tracking via Docker ecosystem |
| 21 | + - package-ecosystem: "docker" |
| 22 | + directory: "/" |
| 23 | + schedule: |
| 24 | + interval: "weekly" |
| 25 | + day: "wednesday" |
| 26 | + time: "09:00" |
| 27 | + timezone: "UTC" |
| 28 | + commit-message: |
| 29 | + prefix: "chore" |
| 30 | + include: "scope" |
| 31 | + |
| 32 | + |
| 33 | + # ============================================================================= |
| 34 | + # GO MODULES CONFIGURATION |
| 35 | + # ============================================================================= |
| 36 | + # Note: Dependabot requires explicit directory configuration for each go.mod file. |
| 37 | + # When adding new Go modules, copy one of the blocks below and update: |
| 38 | + # 1. The directory path |
| 39 | + # 2. The time (to avoid conflicts) |
| 40 | + # |
| 41 | + # Current go.mod files detected: |
| 42 | + # - / (root) |
| 43 | + # - /api |
| 44 | + # - /properties |
| 45 | + # - /tests/e2e |
| 46 | + # ============================================================================= |
| 47 | + |
| 48 | + # Go modules in root directory |
| 49 | + - package-ecosystem: "gomod" |
| 50 | + directory: "/" |
| 51 | + schedule: |
| 52 | + interval: "weekly" |
| 53 | + day: "tuesday" |
| 54 | + time: "09:00" |
| 55 | + timezone: "UTC" |
| 56 | + commit-message: |
| 57 | + prefix: "chore" |
| 58 | + include: "scope" |
| 59 | + |
| 60 | + # Go modules in api directory |
| 61 | + - package-ecosystem: "gomod" |
| 62 | + directory: "/api" |
| 63 | + schedule: |
| 64 | + interval: "weekly" |
| 65 | + day: "tuesday" |
| 66 | + time: "10:00" |
| 67 | + timezone: "UTC" |
| 68 | + commit-message: |
| 69 | + prefix: "chore" |
| 70 | + include: "scope" |
| 71 | + |
| 72 | + # Go modules in properties directory |
| 73 | + - package-ecosystem: "gomod" |
| 74 | + directory: "/properties" |
| 75 | + schedule: |
| 76 | + interval: "weekly" |
| 77 | + day: "tuesday" |
| 78 | + time: "11:00" |
| 79 | + timezone: "UTC" |
| 80 | + commit-message: |
| 81 | + prefix: "chore" |
| 82 | + include: "scope" |
| 83 | + |
| 84 | + # Go modules in tests/e2e directory |
| 85 | + - package-ecosystem: "gomod" |
| 86 | + directory: "/tests/e2e" |
| 87 | + schedule: |
| 88 | + interval: "weekly" |
| 89 | + day: "tuesday" |
| 90 | + time: "12:00" |
| 91 | + timezone: "UTC" |
| 92 | + commit-message: |
| 93 | + prefix: "chore" |
| 94 | + include: "scope" |
| 95 | + |
| 96 | + # ============================================================================= |
| 97 | + # TO ADD NEW GO MODULE DIRECTORIES: |
| 98 | + # Copy the template below, uncomment, and update the directory and time: |
| 99 | + # ============================================================================= |
| 100 | + # - package-ecosystem: "gomod" |
| 101 | + # directory: "/your-new-directory" |
| 102 | + # schedule: |
| 103 | + # interval: "weekly" |
| 104 | + # day: "tuesday" |
| 105 | + # time: "13:00" # Use next available hour |
| 106 | + # timezone: "UTC" |
| 107 | + # commit-message: |
| 108 | + # prefix: "chore" |
| 109 | + # include: "scope" |
| 110 | + |
| 111 | +# ============================================================================= |
| 112 | +# TOOL VERSIONS TRACKING |
| 113 | +# ============================================================================= |
| 114 | +# Tool versions are now extracted to versions.env and tracked via tools.Dockerfile |
| 115 | +# When Dependabot updates tools.Dockerfile, you'll need to manually sync versions.env |
| 116 | +# |
| 117 | +# The following versions are tracked: |
| 118 | +# - golangci-lint (via Docker image) |
| 119 | +# - licensei (via Docker image) |
| 120 | +# - controller-gen (via Go install) |
| 121 | +# - setup-envtest (via Go install) |
| 122 | +# - addlicense (via Go install) |
| 123 | +# - gotemplate (via Go install) |
| 124 | +# - mockgen (via Go install) |
| 125 | +# |
| 126 | +# Note: ENVTEST_K8S_VERSION = 1.27.x! is not tracked as it's a Kubernetes version pattern |
| 127 | + |
0 commit comments