diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-03-27 15:51:04 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-03-27 15:51:04 +0200 |
commit | 16f2987b434a79cd7019849c6d53f4db3616f4db (patch) | |
tree | cca15f9f88628856f37f3696d1390bd4615689e6 /.github | |
parent | d08da6238d2db4cce5cc2b18945975c4700389fe (diff) | |
download | nextcloud-server-16f2987b434a79cd7019849c6d53f4db3616f4db.tar.gz nextcloud-server-16f2987b434a79cd7019849c6d53f4db3616f4db.zip |
Fix update-3rdparty command target branch computation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/command-pull-3rdparty.yml | 4 |
1 files 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 |