From 381ed6a451679449508d04408aa33bc50a8dac0e Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 7 Jun 2024 08:57:18 +0200 Subject: [PATCH] ci: trigger reruns of failed checks on release-57 branch as well as master --- .github/workflows/green_master.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/green_master.yaml b/.github/workflows/green_master.yaml index 50ff087f9..2b588ed15 100644 --- a/.github/workflows/green_master.yaml +++ b/.github/workflows/green_master.yaml @@ -7,9 +7,6 @@ on: # run hourly - cron: "0 * * * *" workflow_dispatch: - inputs: - ref: - required: false permissions: contents: read @@ -17,14 +14,20 @@ permissions: jobs: rerun-failed-jobs: if: github.repository_owner == 'emqx' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: checks: read actions: write + strategy: + fail-fast: false + matrix: + ref: + - master + - release-57 steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: - ref: ${{ github.event.inputs.ref || 'master' }} + ref: ${{ matrix.ref }} - name: run script shell: bash