Initial release: DomainFront tunnel proxy with Apps Script relay #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| lint: | |
| name: Lint & Validate | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Syntax check all modules | |
| run: python -m py_compile main.py proxy_server.py domain_fronter.py h2_transport.py mitm.py ws.py | |
| - name: Verify no secrets in Code.gs | |
| run: | | |
| if grep -qE '"bozboz' appsscript/Code.gs; then | |
| echo "ERROR: Hardcoded auth key found in Code.gs" | |
| exit 1 | |
| fi | |
| - name: Import check | |
| run: | | |
| python -c "import ws; print('ws OK')" | |
| python -c "import h2_transport; print('h2_transport OK')" | |
| python -c "import mitm; print('mitm OK')" | |
| - name: Verify no secrets in tracked files | |
| run: | | |
| # Fail if any tracked file contains known sensitive patterns | |
| if git grep -lIiE '(bozboz|AKfycbw)' -- ':!.github/' 2>/dev/null; then | |
| echo "ERROR: Possible sensitive data in tracked files" | |
| exit 1 | |
| fi |