From 6bd8bf724eaa200298e0448725ec0022c9cf770f Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Fri, 19 Jun 2026 18:05:43 +0800 Subject: [PATCH] chore: run HF token CI check (push-triggered) --- .github/ci-hf-check-marker | 0 .github/workflows/ci-hf-upload-check.yml | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .github/ci-hf-check-marker diff --git a/.github/ci-hf-check-marker b/.github/ci-hf-check-marker new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/ci-hf-upload-check.yml b/.github/workflows/ci-hf-upload-check.yml index 5052bfeb..f57ad755 100644 --- a/.github/workflows/ci-hf-upload-check.yml +++ b/.github/workflows/ci-hf-upload-check.yml @@ -1,7 +1,9 @@ name: HF Upload Check on: - workflow_dispatch: + push: + branches: [main] + paths: ['.github/ci-hf-check-marker'] permissions: {} @@ -23,7 +25,7 @@ jobs: --repo-type model echo "UPLOAD_OK" - - name: Verify anonymous download (no token) + - name: Verify anonymous download run: | curl -fsSL \ "https://huggingface.co/deepsafe/feature-bundles/resolve/main/.ci-checks/upload-check.txt" \