Commit efa135e
fix: skip no-op security PRs and drop phantom rows (#13)
* fix: skip no-op security PRs and drop phantom rows
When an advisory flags a package that is already at its fix version,
uv lock only moves the per-package exclude-newer timestamp without
changing any resolved version. The bot previously committed that
metadata churn and opened a daily no-op PR.
- upgrade_packages: restore the lockfile when no package version
actually moves, so an all-no-op run leaves no diff and opens no PR.
- build_pr_body: drop rows for packages already at/above the fix that
did not change and caused no collateral, so PRs with genuine upgrades
no longer list phantom 'X -> X' entries. Packages still below their
fix remain in 'Not upgraded'.
Fixes #12
* chore: ignore Python bytecode artifacts
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 8f37788 commit efa135e
2 files changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
275 | 288 | | |
276 | 289 | | |
277 | 290 | | |
| |||
352 | 365 | | |
353 | 366 | | |
354 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
355 | 385 | | |
356 | 386 | | |
357 | 387 | | |
| |||
403 | 433 | | |
404 | 434 | | |
405 | 435 | | |
406 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
407 | 440 | | |
408 | 441 | | |
409 | 442 | | |
| |||
0 commit comments