rust/lintcheck/src
Philipp Krones 2ed97eb466
Create summary comment for lintcheck runs (#14816)
Previously https://github.com/rust-lang/triagebot/pull/1985

After a lintcheck run a comment will be created in the PR thread with an
overview of the changes, example here
https://github.com/Alexendoo/rust-clippy/pull/18#issuecomment-2880441316
(plus the normal GHA debugging experience)

It will only comment if there are some changes, if there's already an
existing comment it will be updated for each run

Similar to
https://github.com/rust-lang/team/blob/master/.github/workflows/dry-run.yml

The PR number is supplied by the lintcheck run, so technically someone
could forge it to be annoying and edit the summaries in other threads,
but that is pretty low impact and easy to deal with. There is a
`pull_requests` field on the event but as @Kobzol [pointed out to
me](https://github.com/rust-lang/triagebot/pull/1985#issuecomment-2869157116)
it's not populated for PRs from forks

r? @flip1995

changelog: none
2025-07-09 08:29:50 +00:00
..
config.rs Create summary comment for lintcheck runs 2025-05-16 01:07:56 +00:00
driver.rs Formatting 2024-09-22 20:52:15 +02:00
input.rs Support different lintcheck CARGO_TARGET_DIR 2025-05-21 17:24:20 +00:00
json.rs Create summary comment for lintcheck runs 2025-05-16 01:07:56 +00:00
main.rs Create summary comment for lintcheck runs (#14816) 2025-07-09 08:29:50 +00:00
output.rs Apply needless_for_each to clippy itself 2025-05-20 18:07:57 +08:00
popular_crates.rs Merge commit 'b794b8e08c' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
recursive.rs Fix various typos in lint messages, descriptions and comments 2025-03-24 16:04:32 +01:00