Skip to content

Commit d7e5307

Browse files
committed
chore(ci): Always run, commit only dependency updates
1 parent e7ce550 commit d7e5307

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/pixi-lock.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
on:
2-
pull_request_target:
3-
paths:
4-
- pyproject.toml
2+
pull_request_target
53

64
concurrency:
75
group: ${{ github.workflow }}-${{ github.ref }}
@@ -46,8 +44,9 @@ jobs:
4644
- name: Install the latest version of uv
4745
uses: astral-sh/setup-uv@v7
4846
- name: Update lockfile
49-
run: |
50-
uvx datalad run -i pixi.lock -i pyproject.toml -o pixi.lock -- pixi lock
47+
run: >
48+
uvx datalad run -i pixi.lock -i pyproject.toml -o pixi.lock --
49+
bash -c '! pixi lock --check || git checkout .'
5150
- name: Push updated lockfile, if needed
5251
run: |
5352
git push $REMOTE HEAD:$BRANCH

0 commit comments

Comments
 (0)