I like the idea a lot. I don't expect a lot of feedback/reviews from other scientists, there are just not that many and they are likely busy with something else
You could still have assigned reviewers like in a conventional journal, which maybe if done right could stimulate broader discussion
JOSS has a review process like this, but I don’t think I’ve heard of any journals focused on primary scientific results using this kind of GitHub based review process