Download src/protocol/security/sovereignty_guard.py from TTOPM/belel-protocol: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/TTOPM/belel-protocol/resolve/main/src/protocol/security/sovereignty_guard.py
- Command line
-
hf download hf://TTOPM/belel-protocol/src/protocol/security/sovereignty_guard.py
-
curl -L -o sovereignty_guard.py https://huggingface.co/TTOPM/belel-protocol/resolve/main/src/protocol/security/sovereignty_guard.py
1 kB
| name: Sovereignty Guard Monitor ๐ก๏ธ | |
| on: | |
| push: | |
| paths: | |
| - "src/protocol/security/sovereignty_guard.py" | |
| - "src/**" | |
| - "README.md" | |
| - ".github/workflows/sovereignty-guard.yml" | |
| schedule: | |
| - cron: "0 */6 * * *" # Every 6 hours | |
| workflow_dispatch: | |
| jobs: | |
| run-guard: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ๐ Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: ๐ Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: ๐ฆ Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt || true # Continue even if requirements.txt doesn't exist | |
| - name: ๐ก๏ธ Run Sovereignty Guard | |
| run: | | |
| export PYTHONPATH=$PYTHONPATH:$(pwd)/src | |
| echo "PYTHONPATH is now: $PYTHONPATH" | |
| python src/protocol/security/sovereignty_guard.py || echo "๐ Sovereignty Guard completed with warnings" | |