|
@@ -7,9 +7,6 @@ on:
|
|
|
# run hourly
|
|
# run hourly
|
|
|
- cron: "0 * * * *"
|
|
- cron: "0 * * * *"
|
|
|
workflow_dispatch:
|
|
workflow_dispatch:
|
|
|
- inputs:
|
|
|
|
|
- ref:
|
|
|
|
|
- required: false
|
|
|
|
|
|
|
|
|
|
permissions:
|
|
permissions:
|
|
|
contents: read
|
|
contents: read
|
|
@@ -17,14 +14,20 @@ permissions:
|
|
|
jobs:
|
|
jobs:
|
|
|
rerun-failed-jobs:
|
|
rerun-failed-jobs:
|
|
|
if: github.repository_owner == 'emqx'
|
|
if: github.repository_owner == 'emqx'
|
|
|
- runs-on: ubuntu-22.04
|
|
|
|
|
|
|
+ runs-on: ubuntu-latest
|
|
|
permissions:
|
|
permissions:
|
|
|
checks: read
|
|
checks: read
|
|
|
actions: write
|
|
actions: write
|
|
|
|
|
+ strategy:
|
|
|
|
|
+ fail-fast: false
|
|
|
|
|
+ matrix:
|
|
|
|
|
+ ref:
|
|
|
|
|
+ - master
|
|
|
|
|
+ - release-57
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
|
|
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
|
|
|
with:
|
|
with:
|
|
|
- ref: ${{ github.event.inputs.ref || 'master' }}
|
|
|
|
|
|
|
+ ref: ${{ matrix.ref }}
|
|
|
|
|
|
|
|
- name: run script
|
|
- name: run script
|
|
|
shell: bash
|
|
shell: bash
|