feature/Template-ships-pipelexs-cla · L-261001-05e000
A repository made with "Use this template" inherited the template's own CLA assistant, branch-flow guard, release checks and GitHub Release job, so its pull requests failed for want of the CLA app's secrets or asked its contributors to sign Pipelex's CLA. Every job in those workflows now runs only in Pipelex/pipelex-starter-python, which keeps the template's required checks posting, and /bootstrap deletes them along with the template's release skill, with a test holding the deletion list against the guards. The review also found that protect-workflows never read the pull request it guards under pull_request_target, so it now trusts authors by their effective permission and reads the pull request's files from the API.
Closes L-261001-05e000
🤖 Generated with Claude Code
https://claude.ai/code/session_01UcXtZsHrK9JVCxL2BMhUvU
Summary by cubic
Stops repositories made with "Use this template" from inheriting Pipelex's own CLA assistant, branch-flow guard, release checks, and GitHub Release job, which made their pull requests fail for want of the CLA app's secrets or ask contributors to sign Pipelex's CLA.
- Guards every job in
cla.yml,guard-branches.yml,version-check.yml,changelog-check.yml, andgithub-release.ymltoPipelex/pipelex-starter-pythononly, so the template's required checks keep posting while derived projects run them inert. /bootstrapnow deletes those workflows and thereleaseskill viaMAINTAINER_ONLY_PATHS, after the survivor check so an aborted run removes nothing; the guard test now reads job keys with trailing comments and fails on unreadable lines, so an unguarded job cannot hide, and it holds the list against the guards on disk.- Fixed
protect-workflows, which underpull_request_targetdiffed two base branches and never saw the pull request's files; it now trusts only authors with write access, resolved from effective repository permission, and reads the pull request's file list from the API. - The README's manual checklist now also deletes the bootstrap skill and its test, mirroring
/bootstrap, so a hand-renamed project keeps no test pinning its workflows to the template's layout.