-
Notifications
You must be signed in to change notification settings - Fork 7
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
Open pull-requests when testing #53
Comments
@ghinks and maybe this one? |
ok, will look at this one over the next few days. |
Let me know if you want to discuss it beforehand! |
I think we should discuss it. Let me re-read and respond today. Been super busy. |
Had a quick look, implementation looks straightforwards enough. However there will always be questions. Options
There are some gotchas.
I'll put something together in draft. |
@dominykas @rodion-arr I was wondering if it would be a good idea to split this into 2 parts.
your thoughts? I'm trying to avoid bigger PRs. |
It looks like pretty much separate features, imo. I'm not against separate PRs but maybe it's better to release them together (if we have any users at all at this stage) |
yes agreed, release together. But I shall raise 2 PRs. |
Yeah, CLI convention is for words to be separated by
I suppose since Yargs transforms that into
I'm not sure there's a need to check this, but the GH token will have to have push access (for now) to be able to create the branch - and I'm pretty positive if you have push access, you have PR access? Even in the future, we'll need to have push access into a fork even if we want to PR into upstream, so we'll fail way before this if the token doesn't have correct permissions.
That's a good question. At the moment, it's not a problem, because we still don't have support for re-using existing branches (bullet point in #78), so we'd fail before the check anyways. Going forward, though, I think we'll need that check, yes - you can only have a single PR from the same target to the same base (i.e. our test branch to default branch), so it would probably fail if the PR already exists.
Yeah, I think it's fine to do it as separate PRs, whichever you feel like. Just to clarify - there's no need to do any specific status checks (if that's what you meant), because status checks belong on commits. We will need to update |
Ref: https://github.com/pkgjs/wiby/blob/master/docs/DRAFT-FLOW.md step 9
Depending on the CI setup, it might not be enough to just push the branch -
wiby.json
should allow setting a configuration option to additionally open a PR.This also means that we'd probably need to close the PR, etc, when the tests are done.
The text was updated successfully, but these errors were encountered: