There was an error while loading. Please reload this page.
1 parent 358bd55 commit ed35688Copy full SHA for ed35688
1 file changed
.github/workflows/update-lockfile.yml
@@ -0,0 +1,28 @@
1
+name: Update Lockfile on Release PR
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - main
6
+
7
+jobs:
8
+ update-lock:
9
+ if: startsWith(github.head_ref, 'release-please--')
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ with:
14
+ token: ${{ secrets.BOT_TOKEN }}
15
+ ref: ${{ github.head_ref }}
16
17
+ - uses: prefix-dev/setup-pixi@v0.8.1
18
19
+ pixi-version: latest
20
21
+ - name: Update lockfile
22
+ run: |
23
+ pixi update --no-install
24
+ git config user.name "github-actions[bot]"
25
+ git config user.email "github-actions[bot]@users.noreply.github.com"
26
+ git add pixi.lock
27
+ git commit -m "chore: update pixi.lock for version bump" || echo "No changes"
28
+ git push
0 commit comments