Skip to content

Commit

Permalink
chore: add run-e2e option to workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Jan 3, 2025
1 parent 38be2c7 commit 525ac0d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 '
Expand Down

0 comments on commit 525ac0d

Please sign in to comment.