File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Mirror to GitLab
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - master
7+ delete :
8+ branches :
9+ - main
10+ - master
11+
12+ jobs :
13+ mirror :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Import GPG key
21+ uses : crazy-max/ghaction-import-gpg@v5
22+ with :
23+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
24+ passphrase : " "
25+ git_user_signingkey : true
26+ git_commit_gpgsign : true
27+ git_user_email : ${{ secrets.GPG_USER_EMAIL }}
28+ git_committer_email : ${{ secrets.GPG_USER_EMAIL }}
29+ trust_level : ultimate
30+ git_config_global : true
31+
32+ - name : Mirror to GitLab
33+ uses : pixta-dev/repository-mirroring-action@v1
34+ with :
35+ target_repo_url :
[email protected] :alphabetanetcom/local-python-code-protector.git 36+ ssh_private_key : ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
37+ commit_message : Mirror from GitHub.
You can’t perform that action at this time.
0 commit comments