From 7fde7814dfbcda8ade2bbcde4e735f4b735a87e5 Mon Sep 17 00:00:00 2001 From: Urgau Date: Tue, 19 Aug 2025 22:09:56 +0200 Subject: [PATCH] Add documentation for triagebot `[review-changes-since]` --- src/SUMMARY.md | 1 + src/triagebot/review-changes-since.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/triagebot/review-changes-since.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 0fe46e49..2e26ead2 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -39,6 +39,7 @@ - [Pinging](./triagebot/pinging.md) - [Rendered link](./triagebot/rendered-link.md) - [Requesting Prioritization](./triagebot/requesting-prioritization.md) + - [Review Changes Since](./triagebot/review-changes-since.md) - [Review Changes Requested](./triagebot/review-submitted.md) - [Review Requested](./triagebot/review-requested.md) - [Rustc Commit Tracking](./triagebot/rustc-commit-list.md) diff --git a/src/triagebot/review-changes-since.md b/src/triagebot/review-changes-since.md new file mode 100644 index 00000000..4c046f36 --- /dev/null +++ b/src/triagebot/review-changes-since.md @@ -0,0 +1,19 @@ +# Review Changes Since + +This feature will automatically adjust the body of a GitHub review to include a link to view the changes that happened since the review. + +## Usage + +When creating a pull request review, the bot will automatically append at the end of the review body a link to view the changes that happened since the review. + +## Configuration + +This feature is enabled on a repository by having a `[review-changes-since]` table in `triagebot.toml`: + +```toml +[review-changes-since] +``` + +## Implementation + +See [`src/handlers/review_changes_since.rs`](https://github.com/rust-lang/triagebot/blob/HEAD/src/handlers/review_changes_since.rs).