-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to split out PRs? #11
Comments
Hi, You can run multiple GitHub actions and adjust parameters to include/exclude core, but not contrib modules. You can split major and minor updates into two actions.
See the full definition here: https://github.com/valicm/drupal-update/blob/main/action.yml The auto merge can be done with this - https://github.com/peter-evans/enable-pull-request-automerge I don't suggest auto merge for anything except Drupal Core minor.
But if you have full drupal site bootstrapped in GitHub action, you could run both of these and commit than |
I can't figure out how to split individual PRs for contrib, but I did get two actions created. One for core only, one for contrib only. First, the contrib action steps:
Secore, core, which does the inverse and uses the exclude input:
I wound up just having the raw composer update command there for simplicity, but the CONTRIB_LIST env variable contains a comma delimited list of all drupal/* packages that are not 'core-'.
|
You maybe don't need full DB. Make it so that your installation works with That would bootstrap your site fully, but without the need for you to pull full DB to GitHub actions |
I want to run checks for Drupal core updates every few hours. For contrib I want it to run daily. I would like to create PRs for core only, and contrib only. If possible I would like a PR per contrib module, but am fine with contrib grouped for now.
Is this possible? how?
Also, it would be nice if the PR for core updates could automerge (triggering a deployment in my case). Can that be done here?
The text was updated successfully, but these errors were encountered: