Merge pull request #13204 from id/0607-ci-keep-release-branch-green

ci: trigger reruns of failed checks on release-57 branch as well as master
This commit is contained in:
Ivan Dyachkov 2024-06-07 09:46:40 +02:00 committed by GitHub
commit eea399e3ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 5 deletions

View File

@ -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