diff --git a/update_files.py b/update_files.py index 2e2d76c..18fdad0 100644 --- a/update_files.py +++ b/update_files.py @@ -71,7 +71,7 @@ def main(): subprocess.run(["git", "remote", "set-url", "origin", new_repo_url], check=True) subprocess.run(["git", "checkout", "-B", "main"], check=True) subprocess.run(["git", "add", "."], check=True) - commit_message = "自动更新:从 list.yaml 下载最新文件" + commit_message = "feat: 自动更新从 list.yaml 下载最新文件" # 如果没有变更,则 git commit 会返回非零状态,可用 || true 处理 subprocess.run(["git", "commit", "-m", commit_message], check=False) subprocess.run(["git", "push", "origin", "main"], check=True)