diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index e2c3a39a2..70f8403be 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest name: Sync latest commits from upstream repo steps: - # - name: Checkout target repo - # uses: actions/checkout@v2 - # with: - # ref: main - # token: ${{ secrets.GH_TOKEN }} - # persist-credentials: false + - name: Checkout target repo + uses: actions/checkout@v2 + with: + ref: main + token: ${{ secrets.GH_TOKEN }} + persist-credentials: false - name: repo-sync-develop uses: repo-sync/github-sync@v2 with: @@ -25,12 +25,12 @@ jobs: destination_branch: "develop" github_token: ${{ secrets.GH_TOKEN }} sync_tags: "true" - # - name: repo-sync-lts-2022-r1 - # uses: repo-sync/github-sync@v2 - # with: - # source_repo: "https://${{ secrets.GH_TOKEN }}@github.com//YoYoGames/GameMaker-Manual.git" - # source_branch: "lts-2022-r1" - # destination_branch: "lts-2022-r1" - # github_token: ${{ secrets.GH_TOKEN }} - # sync_tags: "true" + - name: repo-sync-lts-2022-r1 + uses: repo-sync/github-sync@v2 + with: + source_repo: "https://${{ secrets.GH_TOKEN }}@github.com//YoYoGames/GameMaker-Manual.git" + source_branch: "lts-2022-r1" + destination_branch: "lts-2022-r1" + github_token: ${{ secrets.GH_TOKEN }} + sync_tags: "true"