Skip to content

Commit 3b273fc

Browse files
committed
CI: Allow regenerating mina-benches baseline on PR manually
1 parent e49f2b9 commit 3b273fc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/benches-mina-prover-set-baseline.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: Bench mina circuits (set baseline master)
22

3+
# Runs on either pushes to master, or on manual call
4+
#
5+
# Please don't regenerate the data unless you REALLY know what you're doing, e.g. you had to regenerate
6+
# benchmark data and now the baselines changed.
37
on:
48
push:
59
branches:
610
- master
11+
pull_request:
12+
types: [labeled]
713

814
env:
915
OCAML_VERSION: "4.14"
@@ -12,6 +18,7 @@ env:
1218

1319
jobs:
1420
bench-set-baseline:
21+
if: github.event_name == 'push' || github.event.label.name == 'unsafe-benches-mina-reset-baseline'
1522
runs-on: ubuntu-latest
1623
name: Run benches
1724
steps:

0 commit comments

Comments
 (0)