-
Notifications
You must be signed in to change notification settings - Fork 1
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
edgetest force pushes overwrite user commits #13
Comments
thanks for moving it to the right place! |
Thanks for opening the issue @ryanSoley I'll take a look at the PR action we are using, there should be a flag to not force push. Let me circle around this. |
@ryanSoley I've been looking into this issue today and not sure there is a clean way to do this. for context here is the pull request action and how it does things. There are a couple of options on how to tackle this. We could enable usage via a flag of the alternate strategy so that any subsequent runs of edgetest will just open a new PR vs force writing an existing one. It isn't great but atleast prevents you losing your work if you do something else on the branch edgetest opens up. Ideally folks won't commit things to that branch since it is designed only for edgetest, but that might not always be the case. Just to gather thoughts here:
It would re run The real issue is if you make non-edgetest changes to Error: The 'base' and 'branch' for a pull request must be different branches. Unable to continue. I think my recommendation would be to leave |
@fdosani I agree that the problem should probably be fixed elsewhere and not necessarily here in the push mechanics. It wasn't whitesource issues that brought this up - it was the fact that the auto-PRs do not update conda environment YAML files, only the setup files. If edgetest updated all the necessary files, this wouldn't be an issue |
I'll leave this open for now, I want to mull over it a bit more, as to some solution if there is something less hacky. |
relevant issue: capitalone/edgetest#22
The text was updated successfully, but these errors were encountered: