mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-22 17:43:09 +08:00
Add `publish-pull-request-report.yml` as a shared publisher for automation reports, using STS for GitHub writes and the KV actions for comment IDs. Store IDs in `pull-request` scope so later runs can update the same report. Look up each stored ID directly and verify the bot, PR, marker, and run metadata. When a report is published, missing or expired keys create a new comment without scanning existing comments; deleted comments are replaced. Malformed IDs, IDs belonging to another comment, and KV errors fail the job. The publisher verifies the source run and current PR head before writing; report workflows enable it separately. --------- Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
version = 1
|
|
revision = 5
|
|
requires-python = ">=3.10"
|
|
|
|
[options]
|
|
exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
|
|
exclude-newer-span = "P7D"
|