Skip to content

Commit

Permalink
ci(pixi): detailed PR description when updating pixi lockfile (#1981)
Browse files Browse the repository at this point in the history
Insert a table of updated packages into the PR description for pixi lockfile update PRs.
  • Loading branch information
wpbonelli authored Aug 8, 2024
1 parent 86638db commit b4deb96
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pixi_auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
- name: Update pixi lock file
run: |
rm pixi.lock
pixi install
pixi global install pixi-diff-to-markdown
printf "Update pixi dependencies to the latest version\n\n" >> diff.md
pixi update --no-install --json | pixi exec pixi-diff-to-markdown >> diff.md
- 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.
body-path: diff.md
add-paths: pixi.lock
author: "GitHub <[email protected]>"

0 comments on commit b4deb96

Please sign in to comment.