From eacac9f071b7189726eefe7ed43cb8893858bf45 Mon Sep 17 00:00:00 2001 From: larzie Date: Tue, 26 Nov 2024 20:18:00 +0300 Subject: [PATCH] Update submodule CI Signed-off-by: larzie --- .github/workflows/update-submodules.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 74f0326ad..b35e856ab 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -1,4 +1,3 @@ - name: Update Components Submodules on: @@ -6,25 +5,27 @@ on: branches: - dev workflow_dispatch: - workflow_call: # This is a custom event that we will trigger manually + workflow_call: jobs: update-submodules: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[skip ci]')" + steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - submodules: 'recursive' + submodules: recursive token: ${{ secrets.DEPLOY_KEY }} - name: Update submodules run: | git submodule update --remote --merge - - uses: stefanzweifel/git-auto-commit-action@v4 + - name: Commit submodule updates + uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: "[skip ci] 📦 Update Submodules!" + commit_message: "[skip ci] 📦 Update submodules!" commit_user_name: Zen Browser Robot commit_user_email: zen-browser-bot@users.noreply.github.com