Merge pull request #87 from gummmmmy0v0/feature/#67 #11
This file contains hidden or 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: Synchronize the develop branch to forked repo | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| sync: | |
| name: Sync forked repo | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout develop | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.AUTO_ACTIONS }} | |
| fetch-depth: 0 | |
| ref: develop | |
| - name: Add remote-url | |
| run: | | |
| git remote add forked-repo https://cskime:${{ secrets.AUTO_ACTIONS }}@github.com/cskime/rolling | |
| git config user.name cskime | |
| git config user.email ${{ secrets.EMAIL }} | |
| - name: Push changes to forked-repo | |
| run: | | |
| git push -f forked-repo develop | |
| - name: Clean up | |
| run: | | |
| git remote remove forked-repo |