Skip to content

Commit

Permalink
Compare benchmarks against the target branch, not main (#8726) (#8727)
Browse files Browse the repository at this point in the history
* Compare benchmarks against the target branch, not main

* Update benchmark.yml

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
  • Loading branch information
reaperhulk and alex committed Apr 14, 2023
1 parent c124f4e commit c29f829
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Benchmark
on:
pull_request:
paths:
- '.github/workflows/benchmark.yml'
- 'src/**'
- 'tests/**'

Expand All @@ -27,7 +28,7 @@ jobs:
with:
repository: "pyca/cryptography"
path: "cryptography-main"
ref: "main"
ref: "${{ github.base_ref }}"

- name: Setup python
id: setup-python
Expand Down

0 comments on commit c29f829

Please sign in to comment.