From b4deb96b74ee4d9371b595817b9f5e1124b09e08 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 8 Aug 2024 09:23:33 -0400 Subject: [PATCH] ci(pixi): detailed PR description when updating pixi lockfile (#1981) Insert a table of updated packages into the PR description for pixi lockfile update PRs. --- .github/workflows/pixi_auto_update.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pixi_auto_update.yml b/.github/workflows/pixi_auto_update.yml index fbcf83a00e0..734b335f542 100644 --- a/.github/workflows/pixi_auto_update.yml +++ b/.github/workflows/pixi_auto_update.yml @@ -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 "