Skip to content

Commit

Permalink
Add GitLab Mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
xlionjuan committed Dec 24, 2024
1 parent 60e108f commit 51ee776
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gitlab-mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 }}

0 comments on commit 51ee776

Please sign in to comment.