diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-05 18:54:26 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-05 22:57:23 +0200 |
commit | 2af36577c5feffeb072301a858d7ece908a9e9a1 (patch) | |
tree | 652517290ea1a9fb74b6f1ebc28939684b3a2cf9 | |
parent | daa52b416508356e233f8a3bd8f8119c4aa412bb (diff) | |
download | nextcloud-server-2af36577c5feffeb072301a858d7ece908a9e9a1.tar.gz nextcloud-server-2af36577c5feffeb072301a858d7ece908a9e9a1.zip |
Add matrix for psalm baseline update job
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r-- | .github/workflows/update-psalm-baseline.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/update-psalm-baseline.yml b/.github/workflows/update-psalm-baseline.yml index 9fdaeffe22c..5e699f623af 100644 --- a/.github/workflows/update-psalm-baseline.yml +++ b/.github/workflows/update-psalm-baseline.yml @@ -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: | |