-
Notifications
You must be signed in to change notification settings - Fork 11
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
Automatic PR at framework after submodule PR #404
Comments
Then, each time we commit on the submodule a new commit will appear on the framework PR updating the submodule hash?
As I understand once we press framework merge PR, it will trigger the merging of the PR at the corresponding submodules? For me I think it could work. I just don't understand the technicalities about the implementation, but if that it is possible, just let me know how can I help on the transition. Perhaps @nkx111 may have some comments too |
We could update the PR submodule description to indicate how to proceed. I.e. explain that a new framework PR has been created automatically. |
I understand we will then have a dedicated |
It is difficult to imagine all the users case, but some developers can create their own PR on The message that will be displayed in case of automatic PR is:
|
This is possible but not straightforward, it is difficult to check if the message is present or not. Perhaps would be better to make all the developers aware of new PR workflow. Anyhow, I will provide a proposal and we can iterate over it. |
In principle, this is unchanged but we could think moving the |
Looking at the issues on validation that we had recently, I think a new workflow for the PR is required. Here my proposal:
submodules
trigger the creation of a PR onframework
and the submodule hash is updated accordingly in framework. If the PR of the same branch already exist in framework with the same branch name it just commit the changes on the submodule hash. For instance, something similar is done at https://github.com/releasehub-com/github-action-create-pr-parent-submoduleframework
and it will automatically trigger thesubmodule
, this can address this issue Automatize submodule PR if framework name matches with submodules #250 since some work has been done here New workflow frameworkPR for automatic submodule PR merging #259framework
so we avoid to trigger the pipeline when a PR is performed in e.g. different submodules and in framework.@jgalan and @lobis let me know what do you think since this is a lot of work.
The text was updated successfully, but these errors were encountered: