From 6fed9be82be73a149009b7c79e84f649231d42e5 Mon Sep 17 00:00:00 2001 From: Colm Talbot Date: Wed, 2 Sep 2026 14:30:58 -0400 Subject: [PATCH 1/2] Add workflow to update pixi lock files This workflow updates lock files weekly using pixi and creates a pull request with the changes. It can also be manually triggered. --- .github/workflows/update-lock-files.yml | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/update-lock-files.yml diff --git a/.github/workflows/update-lock-files.yml b/.github/workflows/update-lock-files.yml new file mode 100644 index 000000000..d96594161 --- /dev/null +++ b/.github/workflows/update-lock-files.yml @@ -0,0 +1,36 @@ +name: Update lock files + +permissions: + contents: write + pull-requests: write + +on: + workflow_dispatch: + schedule: + - cron: 0 5 * * 1 + +jobs: + pixi-update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up pixi + uses: prefix-dev/setup-pixi@v0.8.3 + with: + run-install: false + - name: Update lock files + run: | + set -o pipefail + pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md + - name: Create pull request + uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update pixi lock file + title: Update pixi lock file + body-path: diff.md + branch: update-pixi + base: main + labels: pixi + delete-branch: true + add-paths: pixi.lock From ab8c92d1cd523ae45826b68e147ddbee7101490a Mon Sep 17 00:00:00 2001 From: Colm Talbot Date: Thu, 3 Sep 2026 08:54:50 -0400 Subject: [PATCH 2/2] Fix lock file commit message --- .github/workflows/update-lock-files.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-lock-files.yml b/.github/workflows/update-lock-files.yml index d96594161..588e2676e 100644 --- a/.github/workflows/update-lock-files.yml +++ b/.github/workflows/update-lock-files.yml @@ -26,8 +26,8 @@ jobs: uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: Update pixi lock file - title: Update pixi lock file + commit-message: "BLD: Update pixi lock file" + title: "BLD: Update pixi lock file" body-path: diff.md branch: update-pixi base: main