diff --git a/.github/workflows/submodule-sync.yml b/.github/workflows/submodule-sync.yml index 7183ebde7f..e8c90cb83e 100644 --- a/.github/workflows/submodule-sync.yml +++ b/.github/workflows/submodule-sync.yml @@ -10,9 +10,9 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v2 - - name: Git submodule update - run: | - git submodule update --remote --init + with: + submodules: recursive + token: ${{ secrets.GH_ACCESS_TOKEN }} - name: Commit run: | git config user.email "actions@github.com"