Template
ci(release): skip release workflows on template repos #39
Reference in New Issue
Block a user
Delete Branch "fix/skip-release-on-template-repos"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Guards the release pipelines so they skip on template repos (
Template-*). This stops the perpetual "No version found"auto-releasefailure on this repo (template repos have no canonical version source by design).Changes
auto-release.yml— guardpromote-rcandreleasejobs with!startsWith(github.event.repository.name, 'Template-').pre-release.yml— same guard on thebuildjob.Note
This is a stopgap mirroring the canonical fix in Template-Generic#47; it will be reaffirmed on the next workflow sync from Template-Generic.
Authored-by: Moko Consulting