-
Notifications
You must be signed in to change notification settings - Fork 44
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
Correct PR body comparison #996
Correct PR body comparison #996
Conversation
Only compare the first 8 lines of the PR body when deciding whether the permanent dependabot branch should be reset to `master` or have `master` merged into it.
Codecov Report
@@ Coverage Diff @@
## master #996 +/- ##
=======================================
Coverage 92.91% 92.91%
=======================================
Files 67 67
Lines 3780 3780
=======================================
Hits 3512 3512
Misses 268 268
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
I am not sure, I understand how this code works, but is it always guaranteed that the first 8 lines do not contain a checkbox? |
The file being checked is this file.
I think that's too general of a constraint to make (checking for checkboxes, as we sometimes add checkboxes in other PR bodies as well). |
@JPBergsma @ml-evs can we get this in before Wednesday? |
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.
lgtm
Fixes #995
Only compare the first 8 lines of the PR body when deciding whether the
permanent dependabot branch should be reset to
master
or havemaster
merged into it.
I've tested this locally, retrieving the PR body for PR #993 and it seems to work now.