Skip to content

Add the bare metal submit workflow from the docs #13

Add the bare metal submit workflow from the docs

Add the bare metal submit workflow from the docs #13

on:

Check warning on line 1 in .github/workflows/fork_pr_benchmarks_closed.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/fork_pr_benchmarks_closed.yml

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
pull_request_target:
types: [closed]
jobs:
archive_fork_pr_branch:
name: Archive closed fork PR branch with Bencher
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: bencherdev/bencher@main
- name: Archive closed fork PR branch with Bencher
run: |
bencher archive \
--project example \
--key '${{ secrets.BENCHER_API_KEY }}' \
--branch "$GITHUB_HEAD_REF"