Template
feat(workflows): move dev-cascade into dedicated cascade-dev.yml #51
Reference in New Issue
Block a user
Delete Branch "feat/cascade-dev-workflow"
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?
Moves the "recreate dev from main" function out of
auto-release.ymlStep 11 into its own workflow, and makes it actually work on protected branches.What changed
cascade-dev.yml(new): on completion of "Universal: Build & Release" (+ manualworkflow_dispatch), force-pushmain→dev. The automation identity is force-push allowlisted ondevviabranch-protection.yml, so this works where the old delete+recreate could not (Gitea refuses to delete a protected branch). Force-push (not merge) means no version-file conflicts; running after the release meansdevpicks up the fully version-bumped + changelog-promotedmain. SkipsTemplate-*repos; concurrency-guarded.auto-release.ymlStep 11: drop thedevdelete/recreate block; keep the rc cleanup.Why
The old Step 11 tried
DELETE /branches/devthen re-create — which silently failed oncedevbecame a protected branch, leavingdevstale after each release. A dedicated force-push workflow is the reliable path now that the bot is force-push allowlisted (#334 / #54 / #49).Refs #53.
https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i