From 0ee514aea63f0905e0e290c9f73ada8e166ae22a Mon Sep 17 00:00:00 2001 From: Sasha Lopoukhine Date: Mon, 16 Dec 2024 15:55:55 +0000 Subject: [PATCH] try with add-and-commit --- .github/workflows/update-lockfile-bot.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update-lockfile-bot.yml b/.github/workflows/update-lockfile-bot.yml index 4ceb600ec4..4bd786d061 100644 --- a/.github/workflows/update-lockfile-bot.yml +++ b/.github/workflows/update-lockfile-bot.yml @@ -5,6 +5,7 @@ on: pull_request: branches: - 'dependabot/**' + - 'dependabot/*' permissions: contents: write @@ -25,15 +26,11 @@ jobs: - name: Set up Python run: uv python install 3.12 - - name: Update lockfile + - name: Install the package locally and update lockfile run: | - echo "\`\`\`" > uv_output.md - XDSL_VERSION_OVERRIDE="0+dynamic" make venv &>> uv_output.md - echo "\`\`\`" >> uv_output.md - - name: Commit changes - run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' - git add uv.lock - git commit -m "Update uv lockfile" -F uv_output.md || echo "No changes to commit" - git push + # Install all default extras. + XDSL_VERSION_OVERRIDE="0+dynamic" make venv + + - uses: EndBug/add-and-commit@v9 + with: + add: uv.lock