Skip to content

Commit e257913

Browse files
committed
ci: auto-update git submodule via Dependabot (gitsubmodule)
Add a Dependabot config so the macros submodule is bumped automatically: Dependabot opens a PR whenever its tracked branch (main) advances, removing the manual 'git submodule update --remote' step. See the ADR in d-morrison/macros (docs/adr/0001-macros-submodule-versioning.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DrceBhXtcKRFaPPEMwxAZN
1 parent 31d8b96 commit e257913

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Keep git submodules up to date automatically.
2+
#
3+
# This template embeds the shared `macros` repo as a git submodule. Dependabot's
4+
# `gitsubmodule` updater opens a PR whenever a submodule's tracked branch (here,
5+
# `main`) advances, so neither this template nor the books generated from it have
6+
# to bump the pointer by hand. See the ADR at d-morrison/macros
7+
# (docs/adr/0001-macros-submodule-versioning.md) for why we track `main` rather
8+
# than a pinned release tag.
9+
version: 2
10+
updates:
11+
- package-ecosystem: "gitsubmodule"
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"
15+
commit-message:
16+
prefix: "chore(submodule)"

0 commit comments

Comments
 (0)