Merge pull request #192 from Umc8th-Snack/fix/greeting-banner/#186 #92
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 to Forked Repo | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| sync: | |
| name: Sync forked repo | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📦 Checkout source (full history) | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.AUTO_ACTIONS }} | |
| ref: develop | |
| - name: 🛠 Configure Git identity | |
| run: | | |
| git config user.name "GitHub Actions Bot" | |
| git config user.email "${{ secrets.EMAIL }}" | |
| - name: 🔁 Add forked repo remote | |
| run: | | |
| git remote add forked-repo https://x-access-token:${{ secrets.AUTO_ACTIONS }}@github.com/minjaehan/Front-end.git | |
| - name: 🚀 Push changes to forked repo | |
| run: | | |
| git push -f forked-repo develop | |
| - name: 🧹 Clean up | |
| run: | | |
| git remote remove forked-repo |