Skip to content

refactor: condense lockdown comments in GetPullRequestCommits - #3115

Merged
SamMorrowDrums merged 1 commit into
mainfrom
sammorrowdrums-comment-cleanup
Aug 19, 2026
Merged

SamMorrowDrums merged 1 commit into
mainfrom
sammorrowdrums-comment-cleanup

Conversation

@SamMorrowDrums

Copy link
Copy Markdown
Collaborator

Focused comment cleanup, no behavior changes.

  • pkg/github/pullrequests.go: condensed the GetPullRequestCommits doc comment to two concise sentences, keeping only the non-obvious invariant (a single PR-author check suffices since all commits share the same untrusted head branch).
  • pkg/github/pullrequests_test.go: removed a comment on a test case that only restated the test name.

script/lint and script/test pass.