Skip to content

chore: re-adopt the infra repository template at v0.25.3 - #115

Merged
dan-petty merged 2 commits into
mainfrom
chore/114-re-adopt-the-infra-template
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
chore/114-re-adopt-the-infra-template

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

After the merge, a person runs devops repos onboard dan-petty/devtools --confirm: it adds the required check PR title / Semantic PR title to the ruleset main.

Each file of the infra template has one owner (dan-petty/infra#225, release v0.25.3), so the next copier update has nothing to merge. copier recopy --skip-answered --defaults --overwrite --vcs-ref v0.25.3 renders .github/labels.yml, .github/CODEOWNERS, github/repository.yaml, release-please-config.json and the callers .github/workflows/pr-title.yml and .github/workflows/release.yml from the answers scopes, scope_descriptions and required_checks, and .copier-answers.yml names _commit: v0.25.3. The files of the repository (.github/renovate.json, .pre-commit-config.yaml, .devops/project.toml, version.txt, .release-please-manifest.json) do not change.

The title check and the release run the reusable workflows of infra with the same steps.

Closes #114

Change: openspec/changes/archive/2026-11-27-114-re-adopt-the-infra-template/

@dan-petty dan-petty added the type/chore Type chore: maintenance, such as a dependency update label Nov 27, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 27, 2026 18:07
@dan-petty
dan-petty merged commit b1d17bb into main Nov 27, 2026
10 checks passed
@dan-petty
dan-petty deleted the chore/114-re-adopt-the-infra-template branch November 27, 2026 18:10
dan-petty added a commit to dan-petty/devops-cli that referenced this pull request Nov 27, 2026
…#7477)

When a repository holds each template file, row 9 of `devops repos
onboard` read the check runs of the newest template pull request, merged
included, and row 10 required each name that ended `success`. The head
of a merged pull request ran the workflows of that time: on 2026-11-27
dan-petty/devtools got the required check `Semantic PR title` from
dan-petty/devtools#99, no workflow reports that name after
dan-petty/devtools#115, and each new pull request of devtools waits on
it.

Row 9 now reads the check runs of the open template pull request only. A
merged or closed one gives row 10 no check name and no check to drop, so
row 10 keeps the live checks and adds the checks of the baseline and of
`github/repository.yaml`. The first confirmed run still requires the
checks of the pull request that row 9 opens (D3), and the drop of a
check that only skipped (#7318) still works while that pull request is
open.

Closes #7476

Change:
`openspec/changes/archive/2026-11-27-7476-onboard-merged-template-pr-checks/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/chore Type chore: maintenance, such as a dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: re-adopt the infra repository template at v0.25.3

1 participant