Skip to content

fix(repos): overwrite differing template files on onboard - #7837

Merged
dan-petty merged 4 commits into
mainfrom
fix/7411-kept-template-file
Nov 30, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/7411-kept-template-file

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Update template_row in src/devops_cli/github/onboard/template_pr.py so existing repository files whose text differs from the rendered Copier baseline are updated on ci/repository-template instead of left stale on the default branch.

  • Push rendered baseline content for both missing and differing files in target_paths, return () for kept file paths, and open the template pull request even when only differing files exist.
  • Update onboard row, OpenSpec, and Service onboard tests and add a Copier update integration test in tests/github/test_onboard_copier_update.py.
  • Amend docs/repos/onboard.md and openspec/specs/repos-onboard/spec.md for the updated row 9 contract.

Closes #7411

Change: openspec/changes/archive/2026-11-29-7411-kept-template-file/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/repos The devops repos commands and worktrees labels Nov 29, 2026
@dan-petty
dan-petty force-pushed the fix/7411-kept-template-file branch from 71cd5bd to 9f8314f Compare November 29, 2026 21:49
@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #7837 has merge conflicts with main at commit eb8f7e9047d3. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

@dan-petty
dan-petty marked this pull request as ready for review November 29, 2026 23:11
@dan-petty
dan-petty enabled auto-merge (squash) November 29, 2026 23:13
@dan-petty
dan-petty force-pushed the fix/7411-kept-template-file branch from d9c9c4a to c233244 Compare November 30, 2026 00:16
@dan-petty
dan-petty merged commit f752ebc into main Nov 30, 2026
36 checks passed
@dan-petty
dan-petty deleted the fix/7411-kept-template-file branch November 30, 2026 00:22
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.258.2](v0.258.1...v0.258.2)
(2026-11-30)


### Bug Fixes

* **repos:** overwrite differing template files on onboard
([#7837](#7837))
([f752ebc](f752ebc)),
closes [#7411](#7411)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/repos The devops repos commands and worktrees type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(repos): a kept template file conflicts at copier update

1 participant