From: George Joseph Date: Tue, 14 May 2024 17:54:17 +0000 (-0600) Subject: .github: Add branches to workflow_dispatch for NightlyTests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12b997312b8f9cf1d26a20b423fa4a43324adf6c;p=thirdparty%2Fasterisk.git .github: Add branches to workflow_dispatch for NightlyTests --- diff --git a/.github/workflows/NightlyTests.yml b/.github/workflows/NightlyTests.yml index 4d51dcd36c..3946920ecb 100644 --- a/.github/workflows/NightlyTests.yml +++ b/.github/workflows/NightlyTests.yml @@ -1,6 +1,11 @@ name: NightlyTests on: workflow_dispatch: + inputs: + branches: + required: false + type: string + description: "Array of branches to run: ['21','master']. Defaults to NIGHTLYTEST_BRANCHES" schedule: - cron: '0 2 * * *' @@ -18,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - branch: ${{ fromJSON(vars.NIGHTLYTEST_BRANCHES) }} + branch: ${{ fromJSON( ( inputs.branches || vars.NIGHTLYTEST_BRANCHES ) ) }} group: ${{ fromJSON(vars.NIGHTLYTEST_LIST) }} runs-on: ubuntu-latest steps: