feat: add workflow_dispatch fallback for RC promotion (MokoGitea#220 workaround) #178
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
MokoGitea#220: API-created PRs do not fire pull_request events. The promote-rc job in auto-release.yml only triggers on draft PR open events, so RC promotion never fires for API-created PRs.
No manual fallback exists.
Solution
Add a workflow_dispatch input to auto-release.yml that allows manual RC promotion:
When action=promote-rc, run the promote-rc job instead of the release job.
Files
Branch created:
feature/178-feat-add-workflow-dispatch-fallback-for-