mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
ci: run updates thrice a day, use PAT
This commit is contained in:
parent
64d29fd4d3
commit
87b6c6b982
1 changed files with 3 additions and 3 deletions
6
.github/workflows/update-submodules.yml
vendored
6
.github/workflows/update-submodules.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue