Skip to content

Commit

Permalink
Run benchmarks on PRs that touch benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Dec 19, 2024
1 parent 4104cb2 commit e11b4cc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/microbenchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ name: Micro Benchmarks
on:
schedule:
- cron: '30 3 * * *'
pull_request:
types: [opened, reopened, synchronize]
branches:
# Only for PRs targeting those branches
- master
- v[0-9]+.[0-9]+
paths:
# Only for PRs that touch the benchmarks
- .github/workflows/microbenchmarks.yaml
- st2common/benchmarks/**

jobs:
# Special job which automatically cancels old runs for the same branch, prevents runs for the
Expand Down

0 comments on commit e11b4cc

Please sign in to comment.