From 2621d2ddcb989b844f871bab88f63857d4974db7 Mon Sep 17 00:00:00 2001 From: Rin Kuryloski Date: Mon, 10 Oct 2022 08:42:31 +0200 Subject: [PATCH] OTP patch version automation workflow updates Rather than make all changes and backport, these PRs should now be more selective, opening the otp 24 prs on v3.10.x --- .github/workflows/update-otp-patches.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-otp-patches.yaml b/.github/workflows/update-otp-patches.yaml index 665ffff1650e..912c9401e3f4 100644 --- a/.github/workflows/update-otp-patches.yaml +++ b/.github/workflows/update-otp-patches.yaml @@ -11,17 +11,33 @@ jobs: max-parallel: 1 fail-fast: false matrix: + erlang_version: + - "24.3" + - "25.0" + - "25.1" include: - erlang_version: "24.3" name: '24' + branch: v3.10.x + labels: | + backport-v3.9.x - erlang_version: "25.0" name: '25_0' + branch: main + labels: | + backport-v3.11.x - erlang_version: "25.1" name: '25_1' + branch: main + labels: | + backport-v3.11.x + backport-v3.10.x timeout-minutes: 10 steps: - name: CHECKOUT REPOSITORY uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} - name: SKIP IF THE PR ALREADY EXISTS id: check-for-branch run: | @@ -124,9 +140,6 @@ jobs: GitHub action in the ${{ github.workflow }} workflow. commit-message: | Adopt otp ${{ steps.fetch-version.outputs.VERSION }} - labels: | - backport-v3.11.x - backport-v3.10.x - backport-v3.9.x + labels: ${{ matrix.labels }} branch: bump-otp-${{ matrix.erlang_version }} delete-branch: true