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" \