rely on checkout action to update submodules

This commit is contained in:
agorararmard 2021-02-16 16:27:29 +00:00
parent ee1883b2db
commit 4fd57662e6
1 changed files with 3 additions and 4 deletions

View File

@ -13,9 +13,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
- name: submodules-init submodules: 'true'
uses: snickerbockers/submodules-init@v4
- name: Update All Submodules to Remote Latest - name: Update All Submodules to Remote Latest
run: git submodule update --remote run: git submodule update --remote
@ -24,7 +23,7 @@ jobs:
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update All Submodules to remote latest commit-message: Update All Submodules to Remote Latest
title: 'Update All Submodules to Remote Latest' title: 'Update All Submodules to Remote Latest'
branch: create-pull-request/submodules-auto-update branch: create-pull-request/submodules-auto-update
base: master base: master