summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-15 15:07:27 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-15 15:07:27 +0100
commit59036bd05606905994de0a5e4da6787ec881eb8a (patch)
treef2d44c80397821742fd011add495f2b90e6c9029 /.github
parent0c3a5bec1e1cd23e6688ed6cc81252a09b82c5f0 (diff)
downloadnextcloud-server-59036bd05606905994de0a5e4da6787ec881eb8a.tar.gz
nextcloud-server-59036bd05606905994de0a5e4da6787ec881eb8a.zip
Fix update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/command-pull-3rdparty.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/command-pull-3rdparty.yml b/.github/workflows/command-pull-3rdparty.yml
index e53274799f9..44223c47704 100644
--- a/.github/workflows/command-pull-3rdparty.yml
+++ b/.github/workflows/command-pull-3rdparty.yml
@@ -31,13 +31,18 @@ jobs:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
+ - name: Setup git
+ run: |
+ git config --local user.email "nextcloud-command@users.noreply.github.com"
+ 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'
- name: Commit and push changes
run: |
git add 3rdparty
- git commit -m "Update submodule 3rdparty to latest ${{ github.event.pull_request.base.ref }}"
+ git commit -s -m "Update submodule 3rdparty to latest ${{ github.event.pull_request.base.ref }}"
git push
- name: Add reaction on failure