Skip to content

Commit 4908dd3

Browse files
committed
test
1 parent 6ca270d commit 4908dd3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/uv-update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ jobs:
6464
echo "No changes to uv.lock"
6565
exit 0
6666
fi
67-
echo "has_changes=true" >> $GITHUB_OUTPUT
67+
echo "has_changes=true" >> "$GITHUB_OUTPUT"
6868
echo "there is changes to the uv.lock file"
6969
7070
- name: Create Pull Request
7171
if: steps.check-changes.outputs.has_changes == 'true'
7272
uses: peter-evans/create-pull-request@v5
7373
with:
7474
commit-message: "chore: update uv.lock"
75+
base: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
7576
title: "uv.lock file updates"
7677
body: |
7778
## Summary
@@ -88,7 +89,7 @@ jobs:
8889
---
8990
9091
*Auto-generated by [uv-update](.github/workflows/uv-update.yml) workflow*
91-
branch: "update/uv-lockfiles-$(date +%Y%m%d)"
92+
branch: "update/uv-lockfiles-${{ github.run_id }}"
9293
delete-branch: true
9394
assignees: ""
9495
reviewers: ""

0 commit comments

Comments
 (0)