ci: add workflow to auto-update downstream submodule repos #17

Merged
forbes merged 1 commits from ci/submodule-notify into main 2026-02-17 14:47:46 +00:00
Owner

Adds a Gitea Actions workflow that runs on push to main and opens PRs in downstream repos to update their silo-client submodule pointer.

Downstream targets:

  • kindred/silo-mod
  • kindred/silo-calc

Features:

  • Duplicate PR detection (skips if open PR already exists)
  • No-op detection (skips if submodule already at current SHA)
  • Commit message links back to upstream commit

Setup required:

  • Add BOT_TOKEN secret with Gitea API token that has write access to both downstream repos
  • Verify submodule_path values in the workflow matrix match actual paths in downstream repos (currently set to deps/silo-client)
Adds a Gitea Actions workflow that runs on push to `main` and opens PRs in downstream repos to update their `silo-client` submodule pointer. **Downstream targets:** - `kindred/silo-mod` - `kindred/silo-calc` **Features:** - Duplicate PR detection (skips if open PR already exists) - No-op detection (skips if submodule already at current SHA) - Commit message links back to upstream commit **Setup required:** - Add `BOT_TOKEN` secret with Gitea API token that has write access to both downstream repos - Verify `submodule_path` values in the workflow matrix match actual paths in downstream repos (currently set to `deps/silo-client`)
forbes added 1 commit 2026-02-17 14:44:30 +00:00
Opens PRs in kindred/silo-mod and kindred/silo-calc when main is
pushed, updating their silo-client submodule pointer to the new SHA.
Includes duplicate PR detection and no-op skip when already current.
forbes merged commit 5e6f2cb963 into main 2026-02-17 14:47:46 +00:00
forbes deleted branch ci/submodule-notify 2026-02-17 14:47:46 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/silo-client#17