From 2902e33d11c30a27d6d8eac9a47b28c12cbca65f Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sun, 3 Oct 2021 22:10:33 +1100 Subject: [PATCH] update parent workflow --- repo/.github/workflows/update-parents.yml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/.github/workflows/update-parents.yml diff --git a/repo/.github/workflows/update-parents.yml b/repo/.github/workflows/update-parents.yml new file mode 100644 index 0000000..5fcdccc --- /dev/null +++ b/repo/.github/workflows/update-parents.yml @@ -0,0 +1,27 @@ +name: 'update parent repositories' + +on: + push: + branches: + - dev + workflow_dispatch: + +jobs: + sync: + name: 'update extension' + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v2 + with: + token: ${{ secrets.CI_TOKEN }} + submodules: true + repository: notion-enhancer/extension + - name: pull updates + run: | + git pull --recurse-submodules + git submodule update --remote --recursive + - name: commit changes + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: 'update submodule: repo'