Skip to content

Commit

Permalink
Merge pull request #261 from Deltares/pixi_update
Browse files Browse the repository at this point in the history
Add auto update pixi lockfile
  • Loading branch information
Huite authored Jul 15, 2024
2 parents 7d59ea0 + f4c5012 commit 6ad513a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pixi_auto_update.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 <[email protected]>"

0 comments on commit 6ad513a

Please sign in to comment.