feat: inherit shared dev tooling from cr-upstream-repo #2

Merged
shakefu merged 2 commits from feat/cr-upstream-repo-sync into main 2026-03-17 23:48:38 +00:00
shakefu commented 2026-03-17 23:16:32 +00:00 (Migrated from github.com)

Summary

  • Add .common-repo-upstream.yaml consumer config to sync shared dev tooling from common-repo/cr-upstream-repo
  • Inherit .pre-commit-config.yaml (trailing whitespace, EOF fixer, YAML check, merge conflict check, large file check)
  • Replace custom src/ sync-check CI with upstream CI (pre-commit lint + common-repo validate)
  • Add daily common-repo-check workflow to detect upstream updates

Uses a separate config file because source and consumer operations can't coexist in one .common-repo.yaml without leaking upstream files to downstream consumers. Tracked for native support: common-repo/common-repo#253

Test plan

  • Verify common-repo validate --config .common-repo-upstream.yaml passes
  • Verify common-repo apply --config .common-repo-upstream.yaml syncs expected files
  • Verify common-repo validate (source config) still works unchanged
  • Verify CI workflow runs pre-commit hooks and common-repo validation
  • Verify common-repo-check workflow runs on schedule/dispatch

🤖 Generated with Claude Code

## Summary - Add `.common-repo-upstream.yaml` consumer config to sync shared dev tooling from `common-repo/cr-upstream-repo` - Inherit `.pre-commit-config.yaml` (trailing whitespace, EOF fixer, YAML check, merge conflict check, large file check) - Replace custom `src/` sync-check CI with upstream CI (pre-commit lint + common-repo validate) - Add daily `common-repo-check` workflow to detect upstream updates Uses a separate config file because source and consumer operations can't coexist in one `.common-repo.yaml` without leaking upstream files to downstream consumers. Tracked for native support: common-repo/common-repo#253 ## Test plan - [ ] Verify `common-repo validate --config .common-repo-upstream.yaml` passes - [ ] Verify `common-repo apply --config .common-repo-upstream.yaml` syncs expected files - [ ] Verify `common-repo validate` (source config) still works unchanged - [ ] Verify CI workflow runs pre-commit hooks and common-repo validation - [ ] Verify `common-repo-check` workflow runs on schedule/dispatch 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.