From 865ac781ba14c834e5ea20e60bd24ff826b2e449 Mon Sep 17 00:00:00 2001 From: Sam <51686767+samuveth@users.noreply.github.com> Date: Tue, 26 Sep 2023 07:46:18 +0000 Subject: [PATCH] Update update-snapshot-packages.yml - add submodules --- .github/workflows/update-snapshot-packages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/update-snapshot-packages.yml b/.github/workflows/update-snapshot-packages.yml index 2ffa4483ec04..1e9bbb40cf31 100644 --- a/.github/workflows/update-snapshot-packages.yml +++ b/.github/workflows/update-snapshot-packages.yml @@ -16,6 +16,14 @@ jobs: - name: Update lock.js run: | yarn upgrade @snapshot-labs/lock --latest + - name: Update snapshot-spaces submodule + run: | + git submodule update --init --recursive + cd snapshot-spaces + git pull origin master + cd .. + git add snapshot-spaces + git commit -m "Update snapshot-spaces submodule" - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: