Skip to content

Commit

Permalink
Turn off benchmakrs comment on each PR (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored Apr 17, 2023
1 parent c7f5cb6 commit f35efec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ permissions:
contents: write

jobs:
# See the benchmarks at https://ref.rerun.io/dev/bench/
rs-benchmarks:
name: Rust Criterion benchmarks

Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
-- --output-format=bencher | tee output.txt
- name: Store benchmark result
# https://github.com/benchmark-action/github-action-benchmark
uses: benchmark-action/github-action-benchmark@v1
with:
name: Rust Benchmark
Expand All @@ -87,7 +89,7 @@ jobs:
comment-on-alert: true
alert-threshold: "150%"
fail-on-alert: true
comment-always: true
comment-always: false # Generates too much GitHub notification spam

# Save, results and push to GitHub only on main
save-data-file: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit f35efec

Please sign in to comment.