name: Submodule Update on: schedule: - cron: "50 21 * * *" # Runs daily at 21:50 UTC (before `Release Pipeline (Nightly OTA)`) workflow_dispatch: jobs: update-submodules: name: Update Submodules runs-on: ubuntu-latest if: github.repository_owner == 'MaaAssistantArknights' steps: - name: Checkout repository uses: actions/checkout@v7 with: submodules: true - name: Update submodules shell: bash run: bash ./.github/scripts/sync-optional-submodules.sh --remote src/MAAUnified src/MaaMacGui src/maa-cli - name: Commit and push changes uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # master as of 2026-05-06 with: github_token: ${{ secrets.GITHUB_TOKEN }} message: "feat: Update Submodules MAAUnified, MaaMacGui, maa-cli https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} [skip changelog]" branch: ${{ github.ref }}