summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2024-11-18 11:33:58 +0000
committerGravatar GitHub <noreply@github.com> 2024-11-18 11:33:58 +0000
commitcc03d907c1fe6af4758afac34b318403bd75867a (patch)
tree5ce61e2c4e783141b2ecec2c2ce4a1e6aa6400fd
parent733d6c1601a8a95409c9707071ecf0b4cda3778a (diff)
downloadastro-cc03d907c1fe6af4758afac34b318403bd75867a.tar.gz
astro-cc03d907c1fe6af4758afac34b318403bd75867a.tar.zst
astro-cc03d907c1fe6af4758afac34b318403bd75867a.zip
ci: filter paths of when running the benchmark action (#12470)
Diffstat (limited to '')
-rw-r--r--.github/workflows/continuous_benchmark.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/continuous_benchmark.yml b/.github/workflows/continuous_benchmark.yml
index 150c28626..00a7e0c5b 100644
--- a/.github/workflows/continuous_benchmark.yml
+++ b/.github/workflows/continuous_benchmark.yml
@@ -5,15 +5,20 @@ on:
pull_request:
branches:
- main
+ paths:
+ - 'packages/astro/src/**/*.ts'
+ - 'benchmark/**'
push:
branches:
- main
+ paths:
+ - 'packages/astro/src/**/*.ts'
+ - 'benchmark/**'
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
FORCE_COLOR: true
- CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }}
CODSPEED: true
jobs:
@@ -46,4 +51,5 @@ jobs:
timeout-minutes: 30
with:
run: pnpm benchmark codspeed
+ token: ${{ secrets.CODSPEED_TOKEN }}