Repository navigation
Description
Problem or Motivation
The repository template of dan-petty/github-workflows owns .github/workflows/pr-title.yml and .github/labels.yml. This repository holds a hand-written version of each file. So each template update of Renovate conflicts. The update #7914 (v0.2.0 to v0.3.2) had conflicts in pr-title.yml and release.yml, and a person closed it without a merge.
Release v0.4.0 of the library passes static title scopes from the Copier answer scopes to the reusable title workflow. So the template can render both files with no local change.
Proposed Solution & Architectural Design
- Move the jobs
Semantic PR titleandPlan Checkofpr-title.ymlinto a file that this repository owns,.github/workflows/pr-checks.yml. Each job keeps its name, its condition and its steps. So the required checkSemantic PR titleof the ruleset ofmainstays. - Run
copier updateto v0.4.0 with the answersscopes,scope_descriptionsandextra_labels.pr-title.ymlandlabels.ymlbecome exact renders. The checkPR title / Semantic PR titleappears next to the local check. - Keep the local
release.yml. A different item owns it. - Make each reader of
labels.ymlread the list form of the render. The finding issue titles use a private reader of the mapping form. - The render holds no
removedlist. Remove the requirement of the specgithub-labelsthat asks the file for that list. Delete no label. - Correct the documents and the specs that name
pr-title.ymlas the file of the local jobs.
After the merge, a person can add PR title / Semantic PR title to the ruleset of main. A later change removes the second title check.
Target Subsystem
SDLC, Git & PR Governance
Existing Tool Considered
Copier and the repository template of dan-petty/github-workflows cover the need. The change builds no new tool.
Alternatives check of 2026-11-30: not-applicable.
Class: refactor, no model call.
Tool: none found.
Activity
dan-petty commentedon Nov 30, 2026
Both address template file conflicts at copier update, but 7411 fixes the devops repos onboard command while the candidate refactors this repository to render pr-title.yml from the template and split local jobs into pr-checks.yml.devops-cli-service commentedon Nov 30, 2026
Released in v0.265.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.265.1
devops-cli-service commentedon Nov 30, 2026
Live since 2026-11-30 22:54 UTC