-
Notifications
You must be signed in to change notification settings - Fork 3
Sync with master #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with master #39
Conversation
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
…mit hook for Gitleaks Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
EE-496 (chore): Added secret scan and pre commit hook for whitelisting the repo with security team
…n PR open Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
…d cb-jarunmadhesh; invoke resolveAllComments in isMergeable function Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Signed-off-by: Jarun Madhesh <124247136+cb-jarunmadhesh@users.noreply.github.com>
Fix reverse merge failing due to cursor bot review comments
| const maxRetries = 5 | ||
| let i = 0 | ||
| while (i++ < maxRetries) { | ||
| await resolveAllComments(context, prNumber); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Unnecessary API Calls in Merge Check Loop
Calling resolveAllComments inside the isMergeable retry loop causes it to repeatedly fetch and delete bot comments. This leads to unnecessary API calls (up to 5 times per check) and potential rate limiting, while also adding a side effect to a function meant for checking mergeability.
No description provided.