diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 693495891..3e0c24a33 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -1,7 +1,7 @@ name: Check for FFXIVCS changes on: schedule: - - cron: "0 0 */1 * *" + - cron: "0 0,12,18 */1 * *" workflow_dispatch: jobs: @@ -22,7 +22,7 @@ jobs: with: submodules: true ref: ${{ matrix.branches }} - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.UPDATE_PAT }} - name: Create update branch run: git checkout -b csupdate/${{ matrix.branches }} - name: Initialize mandatory git config @@ -42,5 +42,5 @@ jobs: git push origin csupdate-${{ matrix.branches }} - name: Create PR run: | - echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token + echo ${{ secrets.UPDATE_PAT }} | gh auth login --with-token gh pr create --head csupdate-${{ matrix.branches }} --title "[${{ matrix.branches }}] Update ClientStructs" --body "" --base ${{ matrix.branches }}