File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
35+ set -o pipefail
36+ uv lock --upgrade 2>&1 | tee /tmp/uv_lock_output.txt
3437 - name : Check for changes
3538 id : changes
3639 run : |
@@ -53,12 +56,22 @@ jobs:
5356 git config user.email "github-actions[bot]@users.noreply.github.com"
5457 git commit -s -m "[chore]: bump uv.lock"
5558 git push origin "$BRANCH"
59+ UV_OUTPUT=$(cat /tmp/uv_lock_output.txt)
5660 gh pr create \
5761 --title "[chore]: weekly bump of uv.lock on ${BASE} ($(date +%Y-%m-%d))" \
58- --body "$(cat <<' EOF'
62+ --body "$(cat <<EOF
5963 ## Summary
6064 Automated weekly update of uv.lock file for nSpect Scanning:
61- - `uv.lock` — upgraded all transitive dependencies to latest compatible versions
65+ - \`uv.lock\` — upgraded all transitive dependencies to latest compatible versions
66+
67+ <details>
68+ <summary>uv lock --upgrade output</summary>
69+
70+ \`\`\`
71+ ${UV_OUTPUT}
72+ \`\`\`
73+
74+ </details>
6275 EOF
6376 )" \
6477 --base "$BASE"
You can’t perform that action at this time.
0 commit comments