Skip to content

Commit 23512a7

Browse files
Improve uv bump PR's description details
Signed-off-by: Keval Morabia <28916987+kevalmorabia97@users.noreply.github.com>
1 parent 407ff6c commit 23512a7

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/bump_uv_lock.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
t['tool']['uv']['override-dependencies'] = ['torch; sys_platform == \"never\"']
3131
toml.dump(t, open('pyproject.toml', 'w'))
3232
"
33-
- run: uv lock --upgrade
33+
- name: Run uv lock upgrade
34+
run: uv lock --upgrade 2>&1 | tee /tmp/uv_lock_output.txt
3435
- name: Check for changes
3536
id: changes
3637
run: |
@@ -53,12 +54,22 @@ jobs:
5354
git config user.email "github-actions[bot]@users.noreply.github.com"
5455
git commit -s -m "[chore]: bump uv.lock"
5556
git push origin "$BRANCH"
57+
UV_OUTPUT=$(cat /tmp/uv_lock_output.txt)
5658
gh pr create \
5759
--title "[chore]: weekly bump of uv.lock on ${BASE} ($(date +%Y-%m-%d))" \
58-
--body "$(cat <<'EOF'
60+
--body "$(cat <<EOF
5961
## Summary
6062
Automated weekly update of uv.lock file for nSpect Scanning:
61-
- `uv.lock` — upgraded all transitive dependencies to latest compatible versions
63+
- \`uv.lock\` — upgraded all transitive dependencies to latest compatible versions
64+
65+
<details>
66+
<summary>uv lock --upgrade output</summary>
67+
68+
\`\`\`
69+
${UV_OUTPUT}
70+
\`\`\`
71+
72+
</details>
6273
EOF
6374
)" \
6475
--base "$BASE"

0 commit comments

Comments
 (0)