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 : 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"
You can’t perform that action at this time.
0 commit comments