sgoudham/update-git-submodules
Update git submodule(s) to their latest commit or tag
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| gitmodulesPath | The path to the '.gitmodules' file. Defaults to '.gitmodules' in the root of the repository. | no | .gitmodules |
| strategy | The strategy to use when updating the submodules, can be either 'commit' or 'tag'. Defaults to 'commit' | no | commit |
| submodules | The submodules to update. Defaults to all submodules in the '.gitmodules' file. | no | "" |
Outputs
| name | description |
|---|---|
| json | A JSON array containing all the submodules that were updated. |
| matrix | A JSON array containing all the submodules that were updated, intended for use in a GitHub Actions matrix strategy. |
| prBody | A Markdown string containing a formatted table of all the submodules that were updated, intended for use in a pull request body. |