Update lockfiles #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: Update lockfiles | |
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/[email protected] | |
with: | |
run-install: false | |
- name: Update lockfiles | |
run: | | |
set -euo pipefail | |
pixi global install pixi-diff-to-markdown | |
pixi update --json --no-install | pixi-diff-to-markdown >> diff.md | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: 'bump: update pixi lockfile' | |
title: 'bump: update pixi lockfile' | |
body-path: diff.md | |
branch: update-pixi | |
base: main | |
labels: pixi | |
delete-branch: true | |
add-paths: pixi.lock |