From 87b6c6b98254fea1112ccf83b33f84a59cfe80b0 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Thu, 12 Jan 2023 23:04:41 +0100 Subject: [PATCH] ci: run updates thrice a day, use PAT --- .github/workflows/update-submodules.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }}