Skip to content

The agent engineering platform.

core: codspeed tweak to make sure it runs on master (#30845)

Sydney Runklee3b6cddd5e12
diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml
index fef9889248..a5e73bd401 100644
--- a/.github/workflows/codspeed.yml
+++ b/.github/workflows/codspeed.yml
@@ -14,7 +14,7 @@ on:
jobs:
codspeed:
name: Run benchmarks
- if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-codspeed-benchmarks'))
+ if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-codspeed-benchmarks')) || github.event_name == 'workflow_dispatch' || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4