mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
.github: Add branches to workflow_dispatch for NightlyTests
(cherry picked from commit 12b997312b
)
This commit is contained in:
committed by
Asterisk Development Team
parent
cf564713a4
commit
e5112eae8d
7
.github/workflows/NightlyTests.yml
vendored
7
.github/workflows/NightlyTests.yml
vendored
@@ -1,6 +1,11 @@
|
|||||||
name: NightlyTests
|
name: NightlyTests
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branches:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
description: "Array of branches to run: ['21','master']. Defaults to NIGHTLYTEST_BRANCHES"
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * *'
|
- cron: '0 2 * * *'
|
||||||
@@ -18,7 +23,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
branch: ${{ fromJSON(vars.NIGHTLYTEST_BRANCHES) }}
|
branch: ${{ fromJSON( ( inputs.branches || vars.NIGHTLYTEST_BRANCHES ) ) }}
|
||||||
group: ${{ fromJSON(vars.NIGHTLYTEST_LIST) }}
|
group: ${{ fromJSON(vars.NIGHTLYTEST_LIST) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user