Skip to content

Commit b79c357

Browse files
committed
Make reference branch generic
1 parent e0092bb commit b79c357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/jsobmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: sanitize
4141
run: echo "REPONAME=${{ github.event.repository.name }}" | sed -e 's/\.jl$//' >> $GITHUB_OUTPUT
4242
- name: Run benchmarks
43-
run: julia --project=benchmark -e 'using JSOBenchmarks; run_benchmarks("${{ steps.sanitize.outputs.REPONAME }}", "benchmark", reference_branch = "jsobmarks")'
43+
run: julia --project=benchmark -e 'using JSOBenchmarks; run_benchmarks("${{ steps.sanitize.outputs.REPONAME }}", "benchmark", reference_branch = "origin/${{ github.event.pull_request.base.ref }}")'
4444
env:
4545
GITHUB_AUTH: ${{ secrets.GIST_TOKEN }}
4646
# - name: Post benchmark results in PR

0 commit comments

Comments
 (0)