Unverified Commit 57defc8a authored by Muyang Li's avatar Muyang Li Committed by GitHub
Browse files

chore: avoid README when sync hf and ms (#550)

* chore: avoid README when sync hf and ms

* avoid manully push

* style: make linter happy
parent a785d71c
......@@ -2,7 +2,7 @@ name: Synchronize HuggingFace Repos to ModelScope
on:
schedule:
- cron: '0 3 * * *' # Run every day at 03:00 UTC
workflow_dispatch: # Allow manual trigger from GitHub UI
# workflow_dispatch: # Allow manual trigger from GitHub UI
jobs:
sync:
runs-on: ubuntu-latest
......@@ -20,6 +20,7 @@ jobs:
- nunchaku-shuttle-jaguar
- nunchaku-sana
- nunchaku-flux.1-kontext-dev
- nunchaku-flux.1-schnell-pix2pix-turbo
steps:
- name: Checkout repository
uses: actions/checkout@v4
......
......@@ -45,7 +45,7 @@ def sync_model(repo_name: str, hf_repo: str, ms_repo: str):
repo_id=ms_repo,
folder_path=local_dir,
commit_message=f"Sync from Hugging Face {hf_repo}",
ignore_patterns=["*nunchaku-tech*"],
ignore_patterns=["*nunchaku-tech*", "README.md"],
)
print(f"✅ Sync complete: {hf_repo} -> {ms_repo}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment