Skip to content

Commit

Permalink
Merge pull request #216 from rust-phf/trigger-bench-by-label
Browse files Browse the repository at this point in the history
Only trigger benchmarks when added a label
  • Loading branch information
JohnTitor committed Jun 13, 2021
2 parents 12121ec + 863e99b commit 711e9aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/benches.yml
@@ -1,9 +1,11 @@
name: Bench
# FIXME: Run only when adding `benchmarks` label?
on: [pull_request]
on:
pull_request:
types: [labeled]

jobs:
bench_between_master_and_pr:
if: ${{ github.event.label.name == 'run-benchmarks' }}
name: Bench
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 711e9aa

Please sign in to comment.