Bump actions/checkout from 4.1.7 to 4.2.2 #102
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: oc | |
on: | |
- push | |
- delete | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
name: Git Repo Sync | |
steps: | |
- name: Checkout GitHub Repository | |
uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git and Sync to GitLab | |
run: | | |
git remote add gitlab https://oauth2:${{ secrets.TARGET_TOKEN }}@${{ secrets.TARGET_URL }} | |
git push gitlab HEAD:main |