Skip to content

Add periodic action to update pixi lock file #1

Add periodic action to update pixi lock file

Add periodic action to update pixi lock file #1

name: Pixi auto update

Check failure on line 1 in .github/workflows/pixi-auto-update-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pixi-auto-update-ci.yml

Invalid workflow file

invalid `cron` attribute "0 0 * * 1*"
on:
# At 00:00 of every monday
schedule:
- cron: "0 0 * * 1*"
# on demand
workflow_dispatch:
jobs:
auto-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
cache: false
- name: Update pixi lock file
run: |
rm pixi.lock
pixi install
- uses: peter-evans/create-pull-request@v5
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]>"