deps(deps): bump django-test-migrations from 1.3.0 to 1.5.0 #19
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: Dependabot - Update pip lockfiles | |
| on: | |
| pull_request: | |
| paths: | |
| - 'requirements.in' | |
| - 'requirements-dev.in' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-lockfiles: | |
| if: github.actor == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install pip-tools | |
| run: | | |
| pip install --upgrade "pip<24.1" | |
| pip install pip-tools | |
| - name: Run pip-compile | |
| run: make export | |
| - name: Commit lockfile changes | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add requirements*.txt | |
| git add uv.lock | |
| if git diff --staged --quiet; then | |
| echo "No lockfile changes needed" | |
| else | |
| git commit -m "chore: update pip lockfiles for ${{ github.event.pull_request.title }}" | |
| git push | |
| fi |