Skip to content

chore: Single-shot benchmarking + continuous benchmarking #1

chore: Single-shot benchmarking + continuous benchmarking

chore: Single-shot benchmarking + continuous benchmarking #1

Workflow file for this run

name: Archive Bencher.dev PR benchmarks
on:
pull_request:
types:
- closed
jobs:
archive_pr_branch:
name: Archive closed PR branch with Bencher
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- name: Archive closed PR branch with Bencher
run: |
bencher archive \
--project portgraph \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch "$GITHUB_HEAD_REF"