diplodoc-platform / diplodoc

Entrypoint to Diplodoc platform
MIT License
185 stars 8 forks source link

Auto-Update Nested Submodules to Latest Versions #23

Open martyanovandrey opened 1 month ago

martyanovandrey commented 1 month ago

Problem: When individual packages (e.g., CLI) are updated, the metapackage repo may still have outdated links to these submodules. As a result, development from the metapackage might occur with stale submodule versions.

Proposed solution: Develop a GitHub Action that periodically or when triggered updates the submodule pointers in the metapackage to the latest versions available in their respective repositories.

Steps to Implement:

  1. Create a GitHub Action workflow file (.github/workflows/update-submodules.yml).
  2. Set up a trigger for the action.
  3. Define steps to pull the latest changes for each submodule and commit those changes back to the metapackage repository.