Skip to content

Commit 20835f1

Browse files
fix: fix codespeed triggering condition (#4684)
Co-authored-by: remimimimimi <[email protected]>
1 parent 9d4ef24 commit 20835f1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: CodSpeed
33
on:
44
push:
55
branches:
6-
- "feature/codespeed" # or "master"
7-
pull_request: # required to have reports on PRs
8-
# `workflow_dispatch` allows CodSpeed to trigger backtest
9-
# performance analysis in order to generate initial data.
10-
workflow_dispatch:
6+
- "feature/codspeed"
7+
pull_request:
8+
types: [opened, synchronize, closed]
9+
branches:
10+
- main
11+
- "feature/codspeed"
1112

1213
jobs:
1314
benchmarks:

0 commit comments

Comments
 (0)