From d9be63f02d06cf3489ffe74cb1338d8f7d33f872 Mon Sep 17 00:00:00 2001 From: Ben Rohlfs Date: Thu, 4 Feb 2021 09:01:46 +0100 Subject: [PATCH] Update the documentation of `ReviewInput.tag` Change-Id: Ifc6b13c3671169fb9027a0fd022f715643eac313 --- Documentation/rest-api-changes.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/rest-api-changes.txt b/Documentation/rest-api-changes.txt index 16d5ad5d53..265014e2cc 100644 --- a/Documentation/rest-api-changes.txt +++ b/Documentation/rest-api-changes.txt @@ -7651,9 +7651,12 @@ revision. The message to be added as review comment. |`tag` |optional| Apply this tag to the review comment message, votes, and inline -comments. Tags may be used by CI or other automated systems to -distinguish them from human reviews. Votes/comments that contain `tag` with -'autogenerated:' prefix can be filtered out in the web UI. +comments. Tags with an 'autogenerated:' prefix may be used by CI or other +automated systems to distinguish them from human reviews. If another +message was posted on a newer patchset, but with the same tag, then the older +message will be hidden in the UI. Suffixes starting with `~` are not considered, +so `autogenerated:my-ci-system~trigger` and `autogenerated:my-ci-system~result` +will be considered being the same tag with regards to the hiding rule. |`labels` |optional| The votes that should be added to the revision as a map that maps the label names to the voting values.