Spaces:
Sleeping
Sleeping
feat: Implement interactive query and expiry sweep agents with a Gradio UI, add a Hugging Face pre-push hook, and refine .gitignore.
e29da2b Download githooks/pre-push from Humanlearning/credential_watch: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/Humanlearning/credential_watch/resolve/main/githooks/pre-push
- Command line
-
hf download hf://spaces/Humanlearning/credential_watch/githooks/pre-push
-
curl -L -o pre-push https://huggingface.co/spaces/Humanlearning/credential_watch/resolve/main/githooks/pre-push
355 Bytes
| #!/bin/sh | |
| remote="$1" | |
| url="$2" | |
| # Avoid infinite recursion if the push is already to 'hf' | |
| if [ "$remote" = "hf" ]; then | |
| exit 0 | |
| fi | |
| # Check if 'hf' remote exists | |
| if git remote | grep -q "^hf$"; then | |
| echo "Pushing to Hugging Face Space..." | |
| git push hf main | |
| else | |
| echo "Remote 'hf' not found. Skipping push to Hugging Face Space." | |
| fi | |
| exit 0 | |