From 16f2987b434a79cd7019849c6d53f4db3616f4db Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 27 Mar 2023 15:51:04 +0200 Subject: Fix update-3rdparty command target branch computation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- .github/workflows/command-pull-3rdparty.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/command-pull-3rdparty.yml b/.github/workflows/command-pull-3rdparty.yml index 44223c47704..83232e22c67 100644 --- a/.github/workflows/command-pull-3rdparty.yml +++ b/.github/workflows/command-pull-3rdparty.yml @@ -37,12 +37,12 @@ jobs: git config --local user.name "nextcloud-command" - name: Pull 3rdparty - run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin ${{ github.event.pull_request.base.ref }}; fi' + run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin ${{ github.event.issue.pull_request.base.ref }}; fi' - name: Commit and push changes run: | git add 3rdparty - git commit -s -m "Update submodule 3rdparty to latest ${{ github.event.pull_request.base.ref }}" + git commit -s -m "Update submodule 3rdparty to latest ${{ github.event.issue.pull_request.base.ref }}" git push - name: Add reaction on failure -- cgit v1.2.3