Roblox / cla-signature-bot

GitHub Action for self-contained handling of CLA signatures
Apache License 2.0
17 stars 13 forks source link

Handle PRs with over 100 comments #17

Open Gudahtt opened 4 years ago

Gudahtt commented 4 years ago

When trying to find an existing comment or look for a signature, the bot only looks at the first 100 comments of the PR. This is because 100 is the default page size for PR comments returned by the GitHub API. As a result, if many comments are made before the bot comment, it will keep re-posting it. Additionally, if many comments are made before the signature itself, the bot will never find it.

Both attempts to find comments have been updated to continue asking for pages until all comments have been reviewed.