Bump django-treebeard from 4.7.1 to 4.8.0 #1870
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: Check deps | |
| on: | |
| pull_request: | |
| paths: | |
| - setup.py | |
| - requirements.txt | |
| - requirements-dev.txt | |
| - docs/requirements.txt | |
| - .github/workflows/dependencies.yml | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| jobs: | |
| quality: | |
| name: Checking dependency graph | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: ['ubuntu-latest'] | |
| python-version: ['3.10'] | |
| permissions: | |
| contents: write | |
| actions: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| if: github.event.pull_request.head.repo.full_name != github.repository | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - uses: actions/checkout@v6 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| with: | |
| token: ${{ secrets.PAT }} | |
| ref: ${{ github.head_ref }} | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "latest" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Check dependency graph | |
| run: | | |
| uv pip compile setup.py -o requirements.txt | |
| uv pip compile requirements-dev.in -o requirements-dev.txt | |
| cd docs/ && uv pip compile -c ../requirements.txt -c ../requirements-dev.txt requirements.in -o requirements.txt | |
| - name: Verify dependency graph is ok | |
| uses: tj-actions/verify-changed-files@v20 | |
| id: verify-changed-files | |
| with: | |
| files: | | |
| requirements.txt | |
| requirements-dev.txt | |
| docs/requirements.txt | |
| - name: Validating graph | |
| if: steps.verify-changed-files.outputs.files_changed == 'true' | |
| run: | | |
| echo "Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}" | |
| git diff | |
| # core.setFailed('Please add your new dependencies in setup.py and/or requirements-dev.in then run pip-compile to add them in requirements. (see docs/contribute/development)') | |
| - name: Commit files changed | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| if: steps.verify-changed-files.outputs.files_changed == 'true' | |
| with: | |
| # Optional. Commit message for the created commit. | |
| # Defaults to "Apply automatic changes" | |
| commit_message: "Fix deps" |