Security Audit #9
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: Security Audit | |
| on: | |
| schedule: | |
| - cron: "0 8 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| pip install pip-audit ruff | |
| mkdir -p src/leetha/ui/web/dist | |
| echo '<html></html>' > src/leetha/ui/web/dist/index.html | |
| pip install . | |
| - name: Dependency audit | |
| run: pip-audit | |
| - name: Code quality | |
| run: ruff check src/ |