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
23 changes: 23 additions & 0 deletions docs/dependabot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Staying up to date with Dependabot

It is recommended to group the Testcontainers update modules for dependabot using the following configuration:

```yaml
version: 2
updates:
- package-ecosystem: "gomod"
directories:
- "/"
- ...
schedule:
interval: "daily"
groups:
testcontainers-go:
patterns:
- "github.com/testcontainers/testcontainers-go"
- "github.com/testcontainers/testcontainers-go/modules/*"
```

This ensures that all modules are updated at the same time, and that the PRs are grouped together.

It also helps to avoid conflicts and makes it easier to review the changes.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ nav:
- system_requirements/using_colima.md
- system_requirements/using_podman.md
- system_requirements/rancher.md
- Dependabot: dependabot.md
- Contributing: contributing.md
- Getting help: getting_help.md
edit_uri: edit/main/docs/
Expand Down
1 change: 1 addition & 0 deletions modulegen/internal/mkdocs/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type Config struct {
Examples []string `yaml:"Examples,omitempty"`
Modules []string `yaml:"Modules,omitempty"`
SystemRequirements []any `yaml:"System Requirements,omitempty"`
Dependabot string `yaml:"Dependabot,omitempty"`
Contributing string `yaml:"Contributing,omitempty"`
GettingHelp string `yaml:"Getting help,omitempty"`
} `yaml:"nav"`
Expand Down
Loading