Skip to content

Workflow file for this run

name: Enforce Lockfile Status
on:
push
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
cancel-in-progress: true
jobs:
lock:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: '3.13' # renovate: datasource=python-version depName=python
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install uv
uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v5
with:
enable-cache: true
python-version: ${{ env.PYTHON_VERSION }}
version: ${{ env.UV_VERSION }}
- run: |
uv lock
git config user.email github-actions[bot]@users.noreply.github.com
git config user.name github-actions[bot]
if ! git diff --exit-code; then
git add uv.lock
git commit -m "enforce lockfile status"
git push
fi