Align published package version with release tag 0.5.1 #7
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
| name: Python Dependency Guard | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - "security/python-direct-deps-allowlist.txt" | |
| - "tools/check_python_dependency_policy.py" | |
| permissions: | |
| contents: read | |
| jobs: | |
| policy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Enforce dependency policy | |
| run: python tools/check_python_dependency_policy.py --base-ref "origin/${{ github.base_ref }}" | |
| dependency-review: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Check dependency review | |
| uses: actions/dependency-review-action@v4 | |
| with: | |
| fail-on-severity: high |