Skip to content

Conversation

@etan-status
Copy link
Contributor

It occurs sometimes that a submodule is bumped to a PR commit instead of the corresponding canonical branch (as registered in .gitmodules). Because we typically use squash, that PR commit can subsequently become unreachable, randomly breaking the build of nimbus-eth2. Prevent these accidents by only allowing submodule bumps to commits on the branch registered in .gitmodules. On private branches, simply update .gitmodules to match the personal dev branch.

It occurs sometimes that a submodule is bumped to a PR commit instead of
the corresponding canonical branch (as registered in `.gitmodules`).
Because we typically use `squash`, that PR commit can subsequently
become unreachable, randomly breaking the build of `nimbus-eth2`.
Prevent these accidents by only allowing submodule bumps to commits
on the branch registered in `.gitmodules`. On private branches, simply
update `.gitmodules` to match the personal dev branch.
@etan-status
Copy link
Contributor Author

Followup from #5068

@github-actions
Copy link

Unit Test Results

         9 files  ±0    1 071 suites  ±0   35m 44s ⏱️ +21s
  3 699 tests ±0    3 420 ✔️ ±0  279 💤 ±0  0 ±0 
15 763 runs  ±0  15 458 ✔️ ±0  305 💤 ±0  0 ±0 

Results for commit 4782813. ± Comparison against base commit d26058b.

@etan-status etan-status enabled auto-merge (squash) June 13, 2023 22:26
@etan-status etan-status merged commit 845bd3d into unstable Jun 14, 2023
@etan-status etan-status deleted the dev/etan/ci-depsreachable branch June 14, 2023 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants