From 01f62992a9b29b65e5a02aad48cd387fcd2288d9 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Wed, 2 Oct 2024 19:20:28 -0300 Subject: [PATCH] Add workflow to keep uv.lock up to date Should do the job for dependabot updates --- .github/workflows/dependabot-uv-lock.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dependabot-uv-lock.yml diff --git a/.github/workflows/dependabot-uv-lock.yml b/.github/workflows/dependabot-uv-lock.yml new file mode 100644 index 00000000000..f6e7b32cb7b --- /dev/null +++ b/.github/workflows/dependabot-uv-lock.yml @@ -0,0 +1,25 @@ +name: uv + +on: + pull_request: + paths: + - "pyproject.toml" + +permissions: + contents: write + pull-requests: write + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + token: ${{ secrets.GH_PAT }} + - uses: astral-sh/setup-uv@v3 + with: + enable-cache: true + - run: uv lock + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Regenerate uv.lock