Skip to content

Commit

Permalink
fix(plugins-benchmark-pr): ensure comparison benchmarks run against P…
Browse files Browse the repository at this point in the history
…R base

Closes #93

Previously, the second benchmark ran against the default branch of the (potentially forked) repo, which might not be in sync with the PR target repo.
  • Loading branch information
mweberxyz committed Feb 20, 2024
1 parent 448d859 commit edeb892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/plugins-benchmark-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: refs/heads/${{ github.event.repository.default_branch }}
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: refs/heads/${{github.event.pull_request.base.repo.default_branch}}
repository: ${{github.event.pull_request.base.repo.full_name}}

- name: Install
run: |
Expand Down

0 comments on commit edeb892

Please sign in to comment.