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
59 changes: 35 additions & 24 deletions templates/go-app/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# Managed by netresearch/.github/templates/go-app/
#
# Declares only the ecosystems every go-app consumer is guaranteed to have:
# gomod, github-actions, and docker (all go-app repos ship a Dockerfile).
#
# npm and devcontainers are OPT-IN: a repo that actually has a package.json
# or a devcontainer adds the block below to its own dependabot.yml and lists
# `.github/dependabot.yml` under `intentional-drift:` in .github/template.yaml
# so the template sync stops managing the file. Declaring an ecosystem without
# its manifest makes the Dependabot run fail with `dependency_file_not_found`.
#
# Opt-in npm:
# - package-ecosystem: npm
# directory: /
# schedule:
# interval: weekly
# day: monday
# open-pull-requests-limit: 5
# groups:
# npm:
# patterns: ['*']
# cooldown:
# default-days: 7
# Opt-in devcontainers:
# - package-ecosystem: devcontainers
# directory: /
# schedule:
# interval: weekly
# day: monday
# open-pull-requests-limit: 2
# groups:
# devcontainers:
# patterns: ['*']
# cooldown:
# default-days: 7
version: 2
updates:
- package-ecosystem: gomod
Expand Down Expand Up @@ -35,27 +70,3 @@ updates:
patterns: ['*']
cooldown:
default-days: 7

- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 5
groups:
npm:
patterns: ['*']
cooldown:
default-days: 7

- package-ecosystem: devcontainers
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 2
groups:
devcontainers:
patterns: ['*']
cooldown:
default-days: 7
34 changes: 22 additions & 12 deletions templates/go-lib/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# Managed by netresearch/.github/templates/go-lib/
#
# Declares only the ecosystems every go-lib consumer is guaranteed to have:
# gomod and github-actions. Libraries don't ship a Dockerfile, so docker is
# NOT declared by default — declaring an ecosystem without its manifest makes
# the Dependabot run fail with `dependency_file_not_found`.
#
# docker (or npm/devcontainers) is OPT-IN: a library that genuinely has the
# manifest adds the block to its own dependabot.yml and lists
# `.github/dependabot.yml` under `intentional-drift:` in .github/template.yaml
# so the template sync stops managing the file. Example:
# - package-ecosystem: docker
# directory: /
# schedule:
# interval: weekly
# day: monday
# open-pull-requests-limit: 3
# groups:
# docker:
# patterns: ['*']
# cooldown:
# default-days: 7
version: 2
updates:
- package-ecosystem: gomod
Expand All @@ -23,15 +45,3 @@ updates:
patterns: ['*']
cooldown:
default-days: 7

- package-ecosystem: docker
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 3
groups:
docker:
patterns: ['*']
cooldown:
default-days: 7
Loading