-
Notifications
You must be signed in to change notification settings - Fork 482
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
🐛 Fix branch protection results #1252
Conversation
@evverx Can you try this PR and see if it fixes your problem? |
Thanks! Looks like #1246 is gone but #1247 isn't
|
Please try the last commit I've pushed. It's fixed for me now. Tell me if it's fixed on your side. |
Judging by
the issues are gone but I think it should be "Warn: status check disabled on branch 'main'". My understanding is that the "Info" messages are somewhat positive and increase the score while in this case it shouldn't I think. |
I fixed the Thank you so much for your patience and help! |
Thanks! It seems to be working. I'll go ahead and close those issues |
Great. I may ping you once I got the score fixed. In a few days :-) |
@azeemsgoogle if you have time over the weekend, feel free to take over this PR. What's left to do is make the unit tests pass. To be honest, I don't think if it's worth the effort because I'm going to update the score calculation next week (discussion we had). |
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.
Overall LGTM. My only concern is removing RefUpdateRule
.
I would like #1274 to be resolved before merging this PR. |
02876cd
to
9d76c38
Compare
@azeemsgoogle I've temporarily commented out the unit tests for this check because I'm going to change the score calculation in the next PR. Fixing them now and once again in next PR is unnecessary work I'd like to avoid. |
friendly ping. I only commented out the unit tests, not the e2e ones. |
cc55089
to
b7d0a36
Compare
I have given LGTM. I'm hesitant about submitting this with all unit tests disabled though. Its not a practice we as a project should be encouraging. Please see if you can re-enable some of the basic test which check for things like nil-ptr dereference. If not, would be good if we have the follow up PR soon. |
I intend to make it my next PR. Thanks! |
BP results are wrong in certain cases.
See #1247 and #1246
I think this PR fixes it. There may be a cleaner way to re-arrange the code, but for now this should be enough for a quick fix.
During my tests, I found that a read-only non-admin token could retrieve all the results. I need someone else to confirm.