mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-24 22:04:54 +03:00
* Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/checkout from 4 to 5 in generated project --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
34 lines
700 B
YAML
34 lines
700 B
YAML
name: uv
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "pyproject.toml"
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
lock:
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
steps:
|
|
- name: Checkout with token
|
|
uses: actions/checkout@v5
|
|
if: ${{ env.GH_PAT != '' }}
|
|
with:
|
|
token: ${{ env.GH_PAT }}
|
|
|
|
- name: Checkout without token
|
|
uses: actions/checkout@v5
|
|
if: ${{ env.GH_PAT == '' }}
|
|
|
|
- uses: astral-sh/setup-uv@v6
|
|
- run: uv lock
|
|
- uses: stefanzweifel/git-auto-commit-action@v6
|
|
with:
|
|
commit_message: Regenerate uv.lock
|