URL Registration on Weblate and Prototype #5
Workflow file for this run
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
| # SPDX-FileCopyrightText: 2026 Andrew Zhang <whisper67265@outlook.com> | |
| # | |
| # SPDX-License-Identifier: BSL-1.0 | |
| name: Dependency audit | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| dep-audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # actions/checkout v6.0.2 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| persist-credentials: false | |
| # actions/setup-python v6.2.0 | |
| - name: Setup Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: '3.14' | |
| # astral-sh/setup-uv v8.1.0 | |
| - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b | |
| with: | |
| version: 0.11.12 | |
| - name: Install apt dependencies (Weblate venv) | |
| run: sudo ./.github/ci/apt-install | |
| - name: Install project and tools | |
| run: | | |
| uv pip install --system -e . | |
| uv pip install --system 'pip>=26.1' pip-audit 'pip-audit-extra>=2' liccheck 'setuptools>=69,<81' | |
| - name: pip-audit (full report; all severities) | |
| continue-on-error: true | |
| run: | | |
| uv pip freeze > /tmp/requirements-frozen.txt | |
| pip-audit --requirement /tmp/requirements-frozen.txt --disable-pip --no-deps --format markdown --desc on | |
| - name: pip-audit severity gate (CRITICAL and HIGH only) | |
| run: | | |
| pip-audit-extra --local --fail-level HIGH | |
| - name: liccheck | |
| run: | | |
| uv pip freeze > /tmp/requirements-frozen.txt | |
| liccheck --rfile /tmp/requirements-frozen.txt --level cautious --no-deps | |
| # actions/dependency-review-action v5.0.0 | |
| - name: Dependency Review | |
| if: github.event_name == 'pull_request' | |
| uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 |