Add GitLab Mirror #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gitlab Mirror | |
on: [push, pull_request, create, delete] | |
jobs: | |
sync: | |
name: Gitlab Mirror | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: action-pack/gitlab-sync@38077a591a7f2ceb6ff6026e6beb2954a3be0f93 | |
with: | |
username: ${{ github.actor }} | |
url: https://gitlab.com/${{ github.repository }}.git | |
# Personal access token from gitlab.com | |
token: ${{ secrets.GITLAB_TOKEN }} |