Change signatures of string functions (#401) #386
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 Sync | |
on: | |
- push | |
- delete | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
name: Git Repo Sync | |
env: | |
target_url: ${{ secrets.TARGET_URL }} | |
steps: | |
- name: GitHub repository checkout | |
uses: actions/checkout@v3 | |
if: ${{ env.target_url != '' }} | |
with: | |
fetch-depth: 0 | |
- name: Synchronization with GitLab | |
uses: wangchucheng/[email protected] | |
if: ${{ env.target_url != '' }} | |
with: | |
# Such as https://github.com/wangchucheng/git-repo-sync.git | |
target-url: ${{ secrets.TARGET_URL }} | |
# Such as wangchucheng | |
target-username: ${{ secrets.TARGET_USERNAME }} | |
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }} | |
target-token: ${{ secrets.TARGET_TOKEN }} |