ci: 修复preview-cleanup checkout不兼容Gitea Actions问题 #545
Reference in New Issue
Block a user
Delete Branch "ci/fix-preview-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?
问题
preview-cleanup.yml 使用了
uses: actions/checkout@v4,Gitea Actions 不兼容 GitHub 的 checkout action,导致 cleanup job 第一步就失败。修复
actions/checkout@v4替换为内联 Python checkout 脚本验证
SSH secrets 配置(PREVIEW_SSH_HOST/USER/PORT/KEY)与 preview-deploy 一致,已确认正确。
纯 workflow 配置改动,不动业务代码。
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🗑️ 预览环境已清理
PR #545 已关闭或合并,对应的预览环境已被清理。