Repository navigation
Description
Problem
The reusable workflows and the repository template moved from dan-petty/infra to dan-petty/github-workflows (dan-petty/infra#217). A release of infra after the move holds neither, and dan-petty/infra#235 turns off the Renovate github-actions and copier managers for each form of the name of infra. This repository still renders the template of infra v0.25.3 and calls its workflows.
Change
- Set
_src_path: https://github.com/dan-petty/github-workflows.gitin.copier-answers.ymland runcopier recopy --skip-answered --defaults --overwrite --vcs-ref v0.1.0. The answers stay. The callers pin the commit of the tag v0.1.0 (39f92fb). - Merge after feat: call the workflows of github-workflows infra#235: the Renovate presets must name dan-petty/github-workflows first.
Done when
.copier-answers.ymlnames_commit: v0.1.0, and a recopy at v0.1.0 with the same answers changes no file.- No workflow calls
dan-petty/infra/.github/workflows. - The pull request passes the checks of this repository.
Proposed design
Problem statement
The reusable workflows and the repository template moved from dan-petty/infra to dan-petty/github-workflows. This repository still renders the infra template at v0.25.3 and calls the infra workflows. The change points .copier-answers.yml at github-workflows and recopies at tag v0.1.0. The pull request merges after dan-petty/infra#235.
Acceptance criteria
Requirement: answers-name-github-workflows
.copier-answers.yml SHALL name _src_path: https://github.com/dan-petty/github-workflows.git and _commit: v0.1.0.
Scenario: Recopy at v0.1.0 changes no file
- WHEN
copier recopy --skip-answered --defaults --overwrite --vcs-ref v0.1.0runs on a clean worktree after the change - THEN
git status --porcelainprints no line
Requirement: workflows-call-github-workflows
Every workflow SHALL call the reusable workflows of dan-petty/github-workflows at the commit of tag v0.1.0 and MUST NOT call dan-petty/infra/.github/workflows.
Scenario: No workflow names infra
- WHEN
rg --files-with-matches dan-petty/infra .github/workflowsruns at the root of the repository - THEN the command prints no path and exits with status 1
Requirement: workflow-checks-pass
The changed workflows SHALL pass the workflow checks of this repository.
Scenario: Workflow lint
- WHEN
uv run devops ci --check --only actionlint,zizmorruns on the pull request - THEN the command exits 0 and reports no finding
Existing Tool Considered
No alternatives check has run. Copier (https://copier.readthedocs.io/) covers the need: copier recopy --skip-answered --defaults --overwrite --vcs-ref v0.1.0 renders the github-workflows template at tag v0.1.0 with the same answers. Copier lacks a way to edit the Renovate presets of dan-petty/infra, and dan-petty/infra#235 does that. The change builds no code and keeps no code.
Key questions
- Which file holds the template source and the answers today?:
.copier-answers.ymlholds_commit: v0.25.3and_src_path: https://github.com/dan-petty/infra.gittoday. Every other line of the file is an answer, and each answer stays. [sources: .copier-answers.yml:2, .copier-answers.yml:3] - How does the repository move the template source to github-workflows?: Edit
_src_pathin.copier-answers.ymlto the github-workflows URL. Then runcopier recopy --skip-answered --defaults --overwrite --vcs-ref v0.1.0. Copier writes every other line, and it records_commit: v0.1.0. (best practice) [sources: .copier-answers.yml:1, .copier-answers.yml:3]- Chosen: Edit
_src_pathand runcopier recopy. No copier command changes_src_path. The recopy renders the new template with the same answers and records_commit: v0.1.0. - Rejected: Run
copier update --data. It renders from the recorded source, infra, and it changes answers only. It cannot move the source to github-workflows. - Rejected: Edit each workflow by hand. The files then differ from the template, and the next recopy overwrites them.
- Chosen: Edit
- Which proof shows that the answers and the rendered files agree?: Run the recopy again at v0.1.0 on a clean worktree.
git status --porcelainmust print nothing. A test that reads.copier-answers.ymlproves nothing, because a test asserts no value of a config file. (best practice) [sources: AGENTS.md]- Chosen: Live recopy, then
git status --porcelain. It proves that the rendered tree matches the recorded answers at tag v0.1.0. - Rejected: A test that reads
.copier-answers.yml. A test asserts no value of a config file, and the test does not run Copier.
- Chosen: Live recopy, then
Fit
Fits in one pull request.
Suspected block
dan-petty/infra#235 must merge first: the Renovate presets must name dan-petty/github-workflows before this pull request merges.
Dependencies
None.
Activity
dan-petty commentedon Nov 28, 2026
Both re-adopt a repository template via copier recopy, but from different source repositories and versions: infra v0.25.3 versus github-workflows v0.1.0.devops-cli-service commentedon Nov 28, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence