Skip to content

Commit

Permalink
ci: add pull request on the benchmark flow (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Nov 13, 2024
1 parent 90abfe1 commit 329514d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ name: Benchmark
on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
pages: write
id-token: write
contents: write
pull-requests: write

jobs:
benchmark:
name: Run benchmark
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -42,7 +46,7 @@ jobs:
fail-on-alert: true
comment-always: true
gh-pages-branch: main
skip-fetch-gh-pages: true
skip-fetch-gh-pages: ${{ github.event_name == 'push' }}
benchmark-data-dir-path: ./cache/benchmarks

docs:
Expand Down

0 comments on commit 329514d

Please sign in to comment.