team-monite/Sync GitLab Project
Syncs remote GitLab project with the repository add as a submodule
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| action | Action to perform: `sync-branch | merge-mr` | yes | — |
| gitlab_token | GitLab Personal Access Token | yes | — |
| gitlab_host | GitLab host. Example: `https://gitlab.com` | yes | — |
| gitlab_project_id | GitLab Project ID. Example: `my-org/my-team/my-project` | yes | — |
| gitlab_target_branch | Target branch name in GitLab to merge the MR. Used to create MR in `sync-branch` action, and to merge MR in `merge-mr` action | yes | — |
| submodule_name | Name of the submodule to sync with GitLab | yes | — |
| branch | GitHub branch name to sync with GitLab | yes | — |
| sha | SHA commit of the branch to be used in the submodule update | yes | — |
| gitlab_merge_when_pipeline_succeeds | Merge MR when pipeline succeeds. Default: `false` | no | false |
| github_pr_url | GitHub PR URL, used in GitLab MR description. Example: "$\{{ github.server_url }}/$\{{ github.repository }}/pull/$\{{ github.event.pull_request.number }}" (replace `\{{` with `{{`) | no | — |
Outputs
no outputs