optimism-integration
optimism-integration copied to clipboard
fix/ci automation
Adds a fix for CI automation where it automatically opens PRs in the submodules. The dev workflow is to instead open PRs against the integration repo when developing with multiple submodules
After working on a POC work an automated workflow using optimism-integration, I've determined the only way to make this nice is using a server that listens to Github webhooks and opens/merges PRs automatically. The developer workflow that we were going for is as follows:
- any changes that require changes across multiple repos should be made against this repository by checking the submodules out to specific branches and committing those submodules
- the CI handles automatically opening PRs to the submodules
- when the PR in this repo is merged, the submodule PRs are merged automatically
For now, the solution is to make pull requests against this repository with the submodules checked out to the specific branches. The CI will run the checked out branches, we observe that the CI passes and then we manually make PRs and merges in the other repos