this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add sync workflow with upstream

authored by

alice and committed by
GitHub Actions
7f339abd 32853aa9

+35
+35
.github/workflows/sync.yml
··· 1 + name: Sync with upstream 2 + 3 + on: 4 + schedule: 5 + - cron: '0 * * * *' 6 + 7 + jobs: 8 + sync: 9 + runs-on: ubuntu-latest 10 + steps: 11 + - name: Checkout main branch of fork 12 + uses: actions/checkout@v4 13 + with: 14 + ref: 'main' 15 + fetch-depth: 0 16 + token: ${{ secrets.REPO_SYNC_TOKEN }} 17 + 18 + - name: Setup Git identity 19 + run: | 20 + git config user.name 'GitHub Actions' 21 + git config user.email 'actions@github.com' 22 + 23 + - name: Add remote upstream 24 + run: git remote add upstream https://github.com/nesbox/TIC-80.git 25 + 26 + - name: Fetch all history for all branches 27 + run: | 28 + git fetch --all 29 + 30 + - name: Rebase changes 31 + run: git rebase upstream/main 32 + 33 + - name: Push changes 34 + run: git push origin main --force-with-lease 35 +