static_checks: Get all patchsets

Get all patchsets and not just the current one. This is specifically to
get patchset comments from previous patches in case they contain
"No-Docs-Update-Reason:".

Change-Id: Icadb0d437ba82e7b5f72e97cb80d4bd1ff5431c8
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/60200
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Marc-Antoine Ruel <maruel@google.com>
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
38 files changed