Skip to content

Commit 24e09d8

Browse files
committed
chore(ci): Try to push to PR head
1 parent ba8f95b commit 24e09d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pixi-lock.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,8 @@ jobs:
3232
run: |
3333
uvx datalad run -i pixi.lock -i pyproject.toml -o pixi.lock -- pixi lock
3434
- name: Push updated lockfile, if needed
35-
run: git push
35+
run: |
36+
git fetch origin refs/pull/$PULL/head
37+
git push origin HEAD:refs/pull/$PULL/head
38+
env:
39+
PULL: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)