Gitlab Sync
ActionsTags
(2)Action to mirror a repository to GitLab.
name: Gitlab Sync
on: [push, pull_request, create, delete]
jobs:
sync:
name: Gitlab Sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: action-pack/gitlab-sync@v3
with:
username: ${{ github.actor }}
url: https://gitlab.com/${{ github.repository }}.git
# Personal access token from gitlab.com
token: ${{ secrets.GITLAB_TOKEN }}
Gitlab Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.