]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add matrix for psalm baseline update job 32728/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sun, 5 Jun 2022 16:54:26 +0000 (18:54 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Sun, 5 Jun 2022 20:57:23 +0000 (22:57 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
.github/workflows/update-psalm-baseline.yml

index 9fdaeffe22c72f454febbd4f0a48b1d9c5e16cae..5e699f623afce20f0225b0eef86dc80413f3f22f 100644 (file)
@@ -3,15 +3,23 @@ name: Update Psalm baseline
 on:
   workflow_dispatch:
   schedule:
-    - cron: '5 4 * * *'
+    - cron: "5 4 * * *"
 
 jobs:
   update-psalm-baseline:
     runs-on: ubuntu-latest
 
+    strategy:
+      fail-fast: false
+      matrix:
+        branches: ["master", "stable24", "stable23", "stable22"]
+
+    name: update-psalm-baseline-${{ matrix.branches }}
+
     steps:
       - uses: actions/checkout@v2
         with:
+          ref: ${{ matrix.branches }}
           submodules: true
 
       - name: Set up php7.4
@@ -41,10 +49,8 @@ jobs:
           committer: GitHub <noreply@github.com>
           author: nextcloud-command <nextcloud-command@users.noreply.github.com>
           signoff: true
-          branch: automated/noid/psalm-baseline-update
-          # Make sure we can open multiple PRs
-          branch-suffix: timestamp
-          title: '[Automated] Update psalm-baseline.xml'
+          branch: automated/noid/${{ matrix.branches }}-update-psalm-baseline
+          title: "[${{ matrix.branches }}] Update psalm-baseline.xml"
           body: |
             Auto-generated update psalm-baseline.xml with fixed psalm warnings
           labels: |