https://github.com/adambirds/sync-github-to-gitlab-action
GitHub Action to sync GitHub Repo to GitLab Repo as a mirror.
https://github.com/adambirds/sync-github-to-gitlab-action
Last synced: 8 months ago
JSON representation
GitHub Action to sync GitHub Repo to GitLab Repo as a mirror.
- Host: GitHub
- URL: https://github.com/adambirds/sync-github-to-gitlab-action
- Owner: adambirds
- License: mit
- Created: 2023-04-10T22:43:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-15T20:05:42.000Z (over 2 years ago)
- Last Synced: 2025-04-01T14:02:12.762Z (9 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sync GitHub to GitLab Action
This GitHub action syncs a GitHub repository to a GitLab repository as a mirror.
## Usage
```yaml
steps:
- uses: actions/checkout@v2
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
with:
destination_repository: git@gitlab.com:adambirds/sync-github-to-gitlab.git
destination_branch_name: main
destination_ssh_key: ${{ secrets.GITLAB_SSH_KEY }}
```
## Inputs
### `destination_repository`
**Required** The SSH URL of the GitLab repository to sync to.
### `destination_branch_name`
**Not Required** The branch of the GitLab repository to sync to. Defaults to `main`.
### `destination_ssh_key`
**Required** The SSH key to use to authenticate with the GitLab repository.
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE)