From 3da76204778dfc59e8e9c08dc12fddaecd7c2454 Mon Sep 17 00:00:00 2001 From: Semyon Bezrukov Date: Tue, 22 Feb 2022 11:31:38 +0300 Subject: [PATCH] Add update submodules github action (#853) * Add update submodules github action * Small fix --- .github/workflows/update-submodules.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/update-submodules.yml diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml new file mode 100644 index 0000000..12a256f --- /dev/null +++ b/.github/workflows/update-submodules.yml @@ -0,0 +1,25 @@ +name: Update submodules + +on: + + workflow_dispatch: + +jobs: + + update-submodules: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Update submodules recursively + run: git submodule update --recursive --remote + + - name: Commit & push changes + uses: EndBug/add-and-commit@v8 + with: + author_name: github-actions[bot] + author_email: github-actions[bot]@users.noreply.github.com + message: Update submodules