Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

update_submodule_versions: add new action #40

Merged

Conversation

igrr
Copy link
Member

@igrr igrr commented Apr 30, 2023

This action helps automate updates to repository submodules.

When the action is run, it will:

  1. Read information about the submodules from .gitmodules file
  2. For each submodule:
    1. Check if there are new release tags in upstream repository
    2. If yes, create a branch where the update will be performed
    3. Update the submodule commit
    4. Optionally, update idf_component.yml file with the new version
    5. Push the branch to Github repository
    6. Open a pull request

See espressif/idf-extra-components#174 for the case where this action is applied and links for example PRs created using this action.

@igrr igrr self-assigned this Apr 30, 2023
@igrr igrr marked this pull request as draft April 30, 2023 09:21
@igrr igrr force-pushed the feature/update_submodule_versions branch 5 times, most recently from 99e3805 to a8a668c Compare April 30, 2023 11:05
@igrr igrr marked this pull request as ready for review April 30, 2023 11:10
This action helps automate updates to repository submodules.

When the action is run, it will:
1. Read information about the submodules from .gitmodules file
2. For each submodule:
   1. Check if there are new release tags in upstream repository
   2. If yes, create a branch where the update will be performed
   3. Update the submodule commit
   4. Optionally, update idf_component.yml file with the new version
   5. Push the branch to Github repository
   6. Open a pull request
@igrr igrr force-pushed the feature/update_submodule_versions branch from a8a668c to ceac087 Compare April 30, 2023 11:23
@igrr igrr requested review from kumekay and radimkarnis May 2, 2023 10:11
@radimkarnis
Copy link
Collaborator

LGTM! Good to have this feature.
Sorry for the late review, I noticed this just now.

@tore-espressif
Copy link

@tomassebestik PTAL

@tore-espressif
Copy link

@tomassebestik @kumekay PTAL

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants