From f4c50126a0ccf3861f08935e35c9601aa257adba Mon Sep 17 00:00:00 2001 From: Huite Bootsma Date: Mon, 15 Jul 2024 10:52:33 +0200 Subject: [PATCH] Add auto update pixi lockfile --- .github/workflows/pixi_auto_update.yml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pixi_auto_update.yml diff --git a/.github/workflows/pixi_auto_update.yml b/.github/workflows/pixi_auto_update.yml new file mode 100644 index 000000000..d378f1371 --- /dev/null +++ b/.github/workflows/pixi_auto_update.yml @@ -0,0 +1,30 @@ +name: Pixi auto update + +on: + schedule: + # At 03:00 on day 3 of the month + - cron: "0 3 3 * *" + # on demand + workflow_dispatch: + +jobs: + auto-update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + - uses: prefix-dev/setup-pixi@v0.8.1 + with: + pixi-version: "latest" + cache: false + - name: Update pixi lock file + run: pixi update + - uses: peter-evans/create-pull-request@v6 + with: + token: ${{ secrets.GITHUB_TOKEN }} + branch: update/pixi-lock + title: Update pixi lock file + commit-message: "Update `pixi.lock`" + body: Update pixi dependencies to the latest version. + author: "GitHub " \ No newline at end of file