Skip to content

Commit

Permalink
Merge pull request #1154 from interlay/gha-benchmark
Browse files Browse the repository at this point in the history
chore: update benchmark command parsing
  • Loading branch information
gregdhill authored Aug 3, 2023
2 parents db02916 + b12da5e commit 942f2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
result-encoding: string
script: |
const [, , cmd, ...args] = context.payload.comment.body.split(/\W+/)
const [cmd, ...args] = context.payload.comment.body.split(" ") # /run_benchmarks CHAIN_NAME [PALLET_NAME]
const [runtime, pallet] = args
return `bash ./scripts/benchmark.sh -r ${runtime ?? "*"} -p ${pallet ?? "*"}`
- uses: actions/github-script@v6
Expand Down

0 comments on commit 942f2a3

Please sign in to comment.