From 525ac0d3133977527fe1321bbb55f7ddeb824091 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Fri, 3 Jan 2025 00:30:25 -0500 Subject: [PATCH] chore: add run-e2e option to workflow dispatch --- .github/workflows/benchmarks.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index fd3a2ef4f8..795844c339 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -15,6 +15,11 @@ on: - ".github/workflows/benchmark-call.yml" - ".github/workflows/benchmarks.yml" workflow_dispatch: + inputs: + run-benchmark-e2e: + description: "Run end-to-end benchmarks" + required: false + default: "false" concurrency: group: benchmark-${{ github.event.pull_request.number || github.sha }} @@ -59,7 +64,7 @@ jobs: LABELS='${{ toJson(github.event.pull_request.labels) }}' RUN_E2E=$(echo "$LABELS" | jq 'any(.name == "run-benchmark-e2e")') else - RUN_E2E=false + RUN_E2E=${{ github.event.inputs.run-benchmark-e2e || 'false' }} fi matrix=$(jq -c --argjson run_e2e $RUN_E2E '