]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix update-3rdparty command
authorCôme Chilliet <come.chilliet@nextcloud.com>
Wed, 15 Mar 2023 14:07:27 +0000 (15:07 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Wed, 15 Mar 2023 14:07:27 +0000 (15:07 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
.github/workflows/command-pull-3rdparty.yml

index e53274799f9a56c4a6a4494d480525f86964a087..44223c4770457f381bb97c9aaf259025e6705d3e 100644 (file)
@@ -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