How to get the YOLO badge #6
-
Any idea on how to unlock the EDIT (23/06/22): seems like Github have loosened the criteria, a lot of people it's getting just for opening a PR and merging it. |
Beta Was this translation helpful? Give feedback.
Replies: 25 comments 71 replies
-
I believe you need to set repo policy to always have approvals before merging. And then use admin "superpowers" to merge it anyway. This is how I've earned it. |
Beta Was this translation helpful? Give feedback.
-
My understanding is that somebody needs to be assigned as a reviewer to the PR (top right on desktop) and the PR then be merged without that person (or anybody else) doing a review. |
Beta Was this translation helpful? Give feedback.
-
I got the badge without doing any of the things mentioned above, I simply made commits on another branch to add a feature and merged the branch into main. You can see my actual PR here, as evidenced by the badge information on my user profile. Accept if this helps, I'm looking forwards to getting the discussion award too 😄 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Create a pull request and merge. |
Beta Was this translation helpful? Give feedback.
-
2022-06-23, EDIT:
Thanks to @Maxim-Mazurok & @supermavster for testing and @gabodmc for the actual steps I stole from below. They seem to have loosened the criteria to not require a reviewer to be assigned anymore. Alright, thanks to @ale-lit we have two more examples and I think the criteria.
The only criteria seems to be to have someone else assigned as the reviewer (isn't possible to assign yourself anyway) and then merge without a review. Additional information deduced from those PRs:
I'm gonna mark this as the answer, at least for now. |
Beta Was this translation helpful? Give feedback.
-
I got my YOLO badge
|
Beta Was this translation helpful? Give feedback.
-
You need to submit two pull requests for review and merge them later |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
yeah creating pull request on our own repository and merging them actually works |
Beta Was this translation helpful? Give feedback.
-
Dear god can someone make a quick video/image tutorial or something, because I cant get this for the life of me |
Beta Was this translation helpful? Give feedback.
-
i got it thanks es |
Beta Was this translation helpful? Give feedback.
-
Another thing you can do, without collaborators is to create a pull request template and then do the steps (create a pr -> merge it). This is what I did on my repository and it worked, without me even knowing it 😅 |
Beta Was this translation helpful? Give feedback.
-
I created a branch in my own repo and created a pull request to myself and merged it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi I am just testing |
Beta Was this translation helpful? Give feedback.
-
For the ones reading this now, I would like to add a information that I did not see anyone mention before that made me struggle: you have to add a reviewer, so you need to have a repository with more than one contributor. |
Beta Was this translation helpful? Give feedback.
-
Hi, testing. |
Beta Was this translation helpful? Give feedback.
-
I created a branch in my own repo and created a pull request to myself and merged it. |
Beta Was this translation helpful? Give feedback.
-
Did you added another account as collaborator of not try this
On your own repository go to settings add another account as collaborator
Now on your own repository make a pr and add the another collaborator
account as reviewer
Then merge that pr from this account only without reviewing.
…On Wed, Oct 26, 2022, 09:52 renhou ***@***.***> wrote:
I created a branch in my own repo and created a pull request to myself and
merged it.
but it's not work
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2LI5VYGMBUOELXWX434U63WFCWYPANCNFSM5YNWUE5A>
.
You are receiving this because you commented.Message ID:
<Schweinepriester/github-profile-achievements/repo-discussions/6/comments/3966275
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
This does not work if you got a github CI Linter or something else running. |
Beta Was this translation helpful? Give feedback.
-
Hello I got the answer and it's perfectly working - STEP 1 : Choose a normal repo. of yours remember in that repo there shouldn't be any STEP 2 : Now go to that repository settings add another account as collaborator . (Settings->collaborator->Add people). STEP 3 : You have to Create a Pull request (PR) on this repository. STEP 4 : Add that collaborator account as reviewer. STEP 5 : Then You have to merge your opned PR from Your account only not collaborator , Without reviewing the PR . I hope it gonna help you guys , Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm testing. |
Beta Was this translation helpful? Give feedback.
2022-06-23, EDIT:
Thanks to @Maxim-Mazurok & @supermavster for testing and @gabodmc for the actual steps I stole from below.
They seem to have loosened the criteria to not require a reviewer to be assigned anymore.
Alright, thanks to @ale-lit we have two more examples and I think the criteria.
Examples:
The only criteria seems to be to have someone else assigned as the reviewer (isn't possible to assign yourself anyway) and then merge without a review.
Additional information deduced from those PRs: