Pixi auto update #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pixi auto update | |
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/setup-pixi@v0.5.1 | |
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 <noreply@github.com>" |