foundriesio/Update reference to this repository in another repository's submodule
This action is handy for customer's a containers.git uses Git submodules that live in a private GitHub repository. Most of the development wil take place in the private GitHub repository and it becomes a pain for developer's to remember to update the submodule reference in containers.git each time code is merged to the GitHub repository. This action clones containers.git, updates to the submodule reference, commit and pushes the change to source.foundries.io so that a CI job will be triggered there to produce a new Target.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| remote-repo | The remote repo to update. eg https://source.foundries.io/factories/<foo>/containers.git | yes | — |
| api-token | API token to be used for accessing ${remote-repo} | yes | — |
| submodule-path | Path to this submodule in ${remote-repo} | yes | — |
| remote-branch | Remote branch to push update to | yes | — |
| commit-message | Git commit message to use for submodule update | no | — |
Outputs
no outputs