-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create PR checker lane #60
Comments
Ooh I like this idea. |
The hardest part is figuring out the target branch, perhaps we could rely on a user populated ENV variable? |
Might be quite hard to enforce an ENV variable, @Neil3079. Unless it would be specified in the Fastlane command via terminal? |
It could default to develop as the most common case |
different systems PR checkers work in different ways, if people can edit these to set an environment variable we could read it. I don't really see another way of identifying the target branch. For instance TRAVIS CI sets the env variable |
Could we make a shell script that could automatically check to see if any of those ENV vars exist and if not ask for a user-specified branch name? |
We could but then the MasterFastfile takes on CI specific responsibilities which we have always avoided in the past. Personally I'd not against adding that script, its more complex to do on the MasterFastfile side of things and will only fix help the percentage of people who are not merging to develop and are using one of the systems we have specified. We would then have to maintain this script and make sure it still works on future versions of these systems. |
I propose a new lane:- PRChecker
This lane will be similar to the test lane with one enhancement, it will checkout the latest version of the target branch and merge the pr into that locally before running the tests.
Some CI's allow this configured manually but not all. It is useful to ensure nothing breaks once the merge is complete before we merge on the repo however.
The text was updated successfully, but these errors were encountered: