From d2456e043698b04cb0138cc8b592e6f5a67b9a97 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Tue, 14 May 2024 11:54:17 -0600 Subject: [PATCH] .github: Add branches to workflow_dispatch for NightlyTests --- .github/workflows/NightlyTests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: