Skip to content

Commit 16212bb

Browse files
Enhance pixi.yml to commit lock file updates
Add steps to update pixi.lock if changed during workflow.
1 parent f52f4fe commit 16212bb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/pixi.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ jobs:
4141
cache: true
4242
auth-host: prefix.dev
4343
auth-token: ${{ secrets.PIXI_TOKEN }}
44+
frozen: false # lock dosyası yoksa veya eskiyse yeniden çöz
45+
locked: false # lock dosyasını zorunlu tutma
46+
47+
- name: Update lock file (değişmişse commit'le)
48+
run: |
49+
git config user.name "github-actions[bot]"
50+
git config user.email "github-actions[bot]@users.noreply.github.com"
51+
if ! git diff --quiet pixi.lock; then
52+
git add pixi.lock
53+
git commit -m "chore: update pixi.lock [skip ci]"
54+
git push
55+
else
56+
echo "pixi.lock değişmedi."
57+
fi
4458
4559
- name: Format & lint (auto-fix)
4660
run: |

0 commit comments

Comments
 (0)